Thursday, December 19, 2024
2 changes · 18.0
Enhancements to existing features
This update strengthens Odoo's mail testing around realistic email conversations on lead-like records, helping protect current behavior before upcoming email changes. It also prevents notification failures when a customer has an inactive language setting, improving reliability for multilingual customer communication.
Original PR description
PURPOSE
Add an email discussion like flow, on a lead-like model. This allows to
test a full discussion with some real-life use cases and see how it
behaves in current codebase.
Improve tools and asserts while doing so.
Fix an issue when having customer having a lang that is inactive.
NEXT
This is done in 18 in order to assert behavior and also ease future
changes. Indeed email flow is going to change in between Odoo 18 and
19 and it is a good practice to have a flow for the "current behavior"
not only the new one.
Prepares Task-4281157: [mail] Allow to alter email.message To
Prepares Task-4332797: [mail] Partner from emails 3.0
Prepares Task-4286232: [mail] Store email{cc/to} on mail.message
Prepares Task-4273569: [mail] Reply, Quotes, Expand and Forward
Prepares Task-4273479: [mail] Email-like recipientsCommission plans now take their active dates into account when comparing plans for the same user. This makes it easier for sales teams to spot overlapping or conflicting plans and keeps commission target totals aligned when target lines are manually updated.
Original PR description
Before this commit, other plans were not computed according to dates. As a result, it ws difficult to see when two plans were conflicting for one user.