[FIX] l10n_ar: invoice report identification name
Show the identification type name instead of always show VAT in the customer information on the invoice report closes odoo/odoo#48801 X-original-commit: 5a7ff2c932ae9abe4207291cc20e52a401a560a2 Signed-off-by: Josse Colpaert <jco@openerp.com>
This commit is contained in:
@@ -35,4 +35,10 @@
|
||||
</ul>
|
||||
</template>
|
||||
|
||||
<template id="report_invoice_document" inherit_id="l10n_latam_invoice_document.report_invoice_document">
|
||||
<xpath expr="//t[@id='inv_tax_id_label']" position="attributes">
|
||||
<attribute name="t-esc">o.partner_id.l10n_latam_identification_type_id.name or o.company_id.country_id.vat_label</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user