Skip to content
Permalink
Browse files

[FIX] l10n_ca: always show PST if it exists even if VAT does not

  • Loading branch information...
jco-odoo committed Apr 16, 2019
1 parent 48b5133 commit 1c849af7d4aecf030c3bf5830fbcba244ae8b10e
Showing with 5 additions and 3 deletions.
  1. +5 −3 addons/l10n_ca/views/report_invoice.xml
@@ -1,7 +1,9 @@
<odoo>
<template id="l10n_ca_report_invoice_document_inherit" inherit_id="account.report_invoice_document">
<span t-field="o.partner_id.vat" position="after">
<t t-if="o.company_id.country_id.code == 'CA' and o.partner_id.l10n_ca_pst" class="mt16"><br/>PST: <span t-field="o.partner_id.l10n_ca_pst"/></t>
</span>
<div t-if="o.partner_id.vat" position="after">
<t t-if="o.company_id.country_id.code == 'CA' and o.partner_id.l10n_ca_pst" class="mt16">
<div>PST: <span t-field="o.partner_id.l10n_ca_pst"/></div>
</t>
</div>
</template>
</odoo>

0 comments on commit 1c849af

Please sign in to comment.
You can’t perform that action at this time.