summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authormreficent <miquel.raich@eficent.com>2020-03-23 16:02:13 +0000
committerThibault Delavallée <tde@odoo.com>2020-04-24 09:30:55 +0000
commitb1a5bf95f8ce26944959c97b760239d008efec95 (patch)
tree3dc79ef9aa0d66a00783e4f64163583254980752 /addons/website/static/src/xml/website.contentMenu.xml
parent797403c0a9e6c7c0b23dbe04b050d59821b2953c (diff)
[IMP] mail: add a hook in _notify_record_by_email to add model-specific values
PURPOSE Be able to customize notification email values in a given model by overriding a simple method instead of having to hijack the email creation process. SPECIFICATIONS Add a hook in mail.thread that can be overridden in specific addons, either by model or globally by inheriting mail.thread. Include _notify_email_headers in it so that it is correctly embedded in model-specific values computation. This removes the need to replace _notify_record_by_email long method in a custom module. Closes odoo/odoo#48213 Closes odoo/odoo#50097 closes odoo/odoo#50129 X-original-commit: 1ba8712d7a797cf2e821ae881cb1f1c4ea2fc11d Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions