Thursday, October 31, 2024
3 changes · 18.0
Enhancements to existing features
Odoo now applies email-specific cleanup rules when generating outgoing email content, preserving formatting needed by email clients such as Outlook while still sanitizing content. This improves consistency and reliability for emails created from templates, composers, and mass mailing campaigns.
Odoo now enables restricted email template rendering by default, allowing regular users to use common simple template fields without broad template-editing rights. This reduces the need to grant wider permissions while preserving flexibility for companies that want to allow all internal users to edit templates via settings.
Original PR description
https://github.com/odoo/odoo/pull/164671 offers a way for non-template editors to use simple expressions. Thanks to this, most of the expressions used in email templates, such as the partner name in an opportunity email template, can be used by regular users without the need to be an email template editor. Thanks to this, the need to set, by default, internal users as template editors is no longer a strong necessity. This revision aims to set the "Restrict Template Rendering" setting by default. Companies needing to set everyone as an email template editor can enable this back by un-checking its related box in the general settings. task-4246174
Email template rendering is now restricted by default, reducing the need to give all internal users broad template editing rights. Regular users can still use common simple expressions in templates, while companies that prefer the previous behavior can re-enable it in general settings.
Original PR description
https://github.com/odoo/odoo/pull/164671 offers a way for non-template editors to use simple expressions. Thanks to this, most of the expressions used in email templates, such as the partner name in an opportunity email template, can be used by regular users without the need to be an email template editor. Thanks to this, the need to set, by default, internal users as template editors is no longer a strong necessity. This revision aims to set the "Restrict Template Rendering" setting by default. Companies needing to set everyone as an email template editor can enable this back by un-checking its related box in the general settings. task-4246174