[18.0][ADD] mail_activity_reassign_on_archive: New module#165
Open
[18.0][ADD] mail_activity_reassign_on_archive: New module#165
Conversation
aaf1a2c to
48c1592
Compare
This module enhances user archiving by preserving activities instead of deleting them. When a user is archived in standard Odoo, all their assigned activities are deleted. This module provides an option to reassign those activities to a designated user instead. Features: - Configure a fallback user to receive reassigned activities - Track the original assignee on reassigned activities - Optionally restore activities when a user is unarchived Signed-off-by: Reinaldo J. Menendez <rejamen@gmail.com>
… 18.0 Replace assertNoMail with assertNotSentEmail to fix test failures. Odoo 18.0's assertNoMail method has a bug where it tries to access mail_message.message_id in the finally block even when mail_message is None, causing AttributeError. assertNotSentEmail properly handles None message_id and provides the same validation for checking that no emails were sent. Signed-off-by: Reinaldo J. Menendez <rejamen@gmail.com>
48c1592 to
280d3b4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This module enhances user archiving by preserving activities instead of deleting them.
When a user is archived in standard Odoo, all their assigned activities are deleted. This module provides an option to reassign those activities to a designated user instead.
Features: