mirror of
https://github.com/bringout/oca-ocb-l10n_americas.git
synced 2026-04-27 07:32:02 +02:00
Initial commit: L10N_Americas packages
This commit is contained in:
commit
12b27ce151
714 changed files with 79328 additions and 0 deletions
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="l10n_ca_external_layout_standard" inherit_id="web.external_layout_standard">
|
||||
<xpath expr="//div[hasclass('row')][last()]" position="after">
|
||||
<t t-if="company.account_fiscal_country_id.code == 'CA' and company.l10n_ca_pst" class="mt16">
|
||||
<div>PST: <span t-field="company.l10n_ca_pst"/></div>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="l10n_ca_external_layout_bold" inherit_id="web.external_layout_bold">
|
||||
<xpath expr="//div[hasclass('row')]" position="after">
|
||||
<t t-if="company.account_fiscal_country_id.code == 'CA' and company.l10n_ca_pst" class="mt16">
|
||||
<div>PST: <span t-field="company.l10n_ca_pst"/></div>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="l10n_ca_external_layout_boxed" inherit_id="web.external_layout_boxed">
|
||||
<xpath expr="//div[hasclass('row') and hasclass('mb8')]" position="after">
|
||||
<t t-if="company.account_fiscal_country_id.code == 'CA' and company.l10n_ca_pst" class="mt16">
|
||||
<div>PST: <span t-field="company.l10n_ca_pst"/></div>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="l10n_ca_external_layout_striped" inherit_id="web.external_layout_striped">
|
||||
<xpath expr="//div[hasclass('float-start') and hasclass('company_address')]" position="after">
|
||||
<t t-if="company.account_fiscal_country_id.code == 'CA' and company.l10n_ca_pst" class="mt16">
|
||||
<div>PST: <span t-field="company.l10n_ca_pst"/></div>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue