Hello everyone
I have some questions about emailing stuff in odoo 16:
1)
I'm trying to change the default signature of all emails sent by odoo. I want to replace the "company info, phone and so on + powered by odoo" by my own global company-signature-style. I found the templates in mail.mail_notification_layout and mail.mail_notification_light and it works when I change the templates. But to be save in future I want to replace this part of the mail by a custom module. Anyone an idea how to get this to work? I was able to add an inherited view but how to address this two specific parts?
2)
an alternative approach to 1) would be just to replace the whole template.
I duplicated the mail.mail_notification_layout, made my changes and then i've changed the external identifier to the new View-ID... but it doesn't seem to work. The identifier-Name changed and the "model data" and "external id" in the view got updated, too. But the sales-email is using the old one. Do it need to tell odoo somewhere to update this stuff?
2)
When does odoo use mail.mail_notification_layout and when mail.mail_notification_light? Can I see this somewhere in the email templates e.g. for sale orders?
Best regards and thank you :)