Skip to Content
Menu
This question has been flagged
3 Replies
7609 Views

Hi everyone,

I'm using Odoo 10, and I'm customizing some email templates.

But, I cannot edit some email templates body html. Some other templates are fine, I can edit and save.

Some template, I edit the body html and saved, but nothing changed.

The other fields such as email configuration or subject can be edited, but not body html.

Does anyone get same problem?


Thank you

Avatar
Discard
Best Answer

You can update such email templates with noupdate=1 with the following method. We have to delete current template before our custom inherited template.

eg:

<delete id="module_name.template_id" model="mail.template"/>

it will work with custom changes to templates.

Avatar
Discard
Author

Thank you

Yes!! Thank You very much

Best Answer

Hi,

Some of the template are  not getting updated after editing is because,
in the code some times there will be  noupdate="1" , if this is given the updations will not get into effect.

Thanks

Avatar
Discard
Author

Thank Niyas,

But, is it prevent updating template from the UI also? As I known, it just prevent updating template that changed from code (update module).

What I did is trying to update template from UI (settings menu). It works fine in my local development environment. But, when deploy on server, I cannot update the templates.