Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am stuck in email templates inheritance.
I want to inherit two email template of same record id.
one email template is in sale module with record id "email_template_edi_sale"
and another one is in portal_sale module with same record id "email_template_edi_sale"
I need to inherit both.
I tried inherit by module_name.record id. but it can help because it is written inside noupdate="1"
Thanks is advance.
You should create an migration script, under your module, in order to deactivate the noupdate in the mail.template models to be able to update them in the -u process.
First create the next dirs
And inside module version dir create files, post-migration.py and pre-migration.py
where you can made your script, something like the following:
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/6/16, 1:40 AM|
|Seen: 1629 times|
|Last updated: 1/30/18, 5:45 PM|