| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | <template id="report_invoice_document" inherit_id="account.report_invoice_document" primary="True"> |
| 4 | <xpath expr="//div[@id='informations']" position="before"> |
| 5 | <t t-set="forced_vat" t-value="o.company_id.vat"/> |
| 6 | </xpath> |
| 7 | |
| 8 | <t name="invoice_title" position="replace"> |
| 9 | <t name="invoice_title">Fiscal Tax Invoice</t> |
| 10 | </t> |
| 11 | <t name="draft_invoice_title" position="replace"> |
| 12 | <t name="draft_invoice_title">Draft Tax Invoice</t> |
| 13 | </t> |
| 14 | <t name="cancelled_invoice_title" position="replace"> |
| 15 | <t name="cancelled_invoice_title">Cancelled Tax Invoice</t> |
| 16 | </t> |
| 17 | <t name="proforma_invoice_title" position="replace"> |
| 18 | <t name="proforma_invoice_title">Proforma Fiscal Tax Invoice</t> |
| 19 | </t> |
| 20 | <t name="draft_proforma_invoice_title" position="replace"> |
| 21 | <t name="draft_proforma_invoice_title">Draft Proforma Tax Invoice</t> |
| 22 | </t> |
| 23 | <t name="cancelled_proforma_invoice_title" position="replace"> |
| 24 | <t name="cancelled_proforma_invoice_title">Cancelled Proforma Tax Invoice</t> |
| 25 | </t> |
| 26 | </template> |
| 27 | <template id="report_invoice" inherit_id="account.report_invoice"> |
| 28 | <xpath expr='//t[@t-call="account.report_invoice_document"]' position="after"> |
| 29 | <t t-elif="o._get_name_invoice_report() == 'l10n_zm_account.report_invoice_document'" |
| 30 | t-call="l10n_zm_account.report_invoice_document" |
| 31 | t-lang="lang"/> |
| 32 | </xpath> |
| 33 | </template> |
| 34 | </odoo> |