Sunday, December 10, 2023
1 change · master
Miscellaneous changes
Before this fix, the `email_from` set on the `mail.template` is not used when sending a followup email. Instead, only `partner._get_followup_responsible()` is used to set the author and the sender of the email (see the `_send_email` function). Now, we read the `email_from` to set the sender of the email. We use `_render_template` to possibly evaluate a dynamic expression (for instance: `{{ object._get_followup_responsible().email_formatted }}`). opw-3574286 Forward-Port-Of: odoo/enterpri
Original PR description
Before this fix, the `email_from` set on the `mail.template` is not used when sending a followup email. Instead, only
`partner._get_followup_responsible()` is used to set the author and the sender of the email (see the `_send_email` function).
Now, we read the `email_from` to set the sender of the email. We use `_render_template` to possibly evaluate a dynamic expression (for instance: `{{ object._get_followup_responsible().email_formatted }}`).
opw-3574286
Forward-Port-Of: odoo/enterprise#52255
Forward-Port-Of: odoo/enterprise#51440