comment hériter d'un templates dur odoo 15
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
This question has been flagged
Hi,
You can inherit the template by setting the inherit_id as existing template id.
For example if you want to inherit the delivery slip report template in inventory module, you can do as follows:
id="report_deliveryslip_inherited" inherit_id="stock.report_deliveryslip">
expr="//t[@t-call='stock.report_delivery_document']" position='after'> //your xpath expression
//your content
Refer this video for more details, same way you can inherit templates also:
How To Inherit And Modify Existing PDF Reports in Odoo
https://www.youtube.com/watch?v=8aGOHkee7i4
Thank you
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up