Odoo18-Base/addons/l10n_es/views/report_invoice.xml

24 lines
1.0 KiB
XML
Raw Permalink Normal View History

2025-01-06 10:57:38 +07:00
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="report_invoice_document" inherit_id="account.report_invoice_document">
<!-- add company id -->
<xpath expr="//div[@id='partner_vat_address_not_same_as_shipping']" position="after">
<div t-if="o.partner_id.company_registry and o.company_id.country_code == 'ES'">
ID: <span t-field="o.partner_id.company_registry"/>
</div>
</xpath>
<xpath expr="//div[@id='partner_vat_address_same_as_shipping']" position="after">
<div t-if="o.partner_id.company_registry and o.company_id.country_code == 'ES'">
ID: <span t-field="o.partner_id.company_registry"/>
</div>
</xpath>
<xpath expr="//div[@id='partner_vat_no_shipping']" position="after">
<div t-if="o.partner_id.company_registry and o.company_id.country_code == 'ES'">
ID: <span t-field="o.partner_id.company_registry"/>
</div>
</xpath>
</template>
</odoo>