Hello,
In order to custom invoice template I try to inherit from account.report_invoice_with_payments in order to call my own template but it don't work.
Below my implementation
id="report_invoice_with_payments_inherit_doodoo"inherit_id="account.report_invoice_with_payments">
expr="//t[@t-call='web.html_container']"position="replace">
t-call="web.html_container">
t-foreach="docs"t-as="o">
t-set="lang"t-value="o.partner_id.lang"/>
t-set="print_with_payments"t-value="True"/>
t-call="doodoo_sales_invoices_templates.report_invoice_document_inherit_doodoo"t-lang="lang"/>
My template doodoo_sales_invoices_templates.report_invoice_document_inherit_doodoo is not called and odoo cannot generate the pdf.
I can do what I want this by inherit from account.report_invoice_document and without doing nothing in account.report_invoice_with_payments but I would like to know if some templates are not inheritable.
Regards