53 lines
2.1 KiB
XML
53 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="pst_external_layout">
|
|
<li t-if="company.account_fiscal_country_id.code == 'CA' and company.l10n_ca_pst">
|
|
PST: <span t-field="company.l10n_ca_pst"/>
|
|
</li>
|
|
</template>
|
|
|
|
<template id="l10n_ca_external_layout_standard" inherit_id="web.external_layout_standard">
|
|
<xpath expr="//ul[@name='company_address_list']" position="inside">
|
|
<t t-call="l10n_ca.pst_external_layout"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="l10n_ca_external_layout_bold" inherit_id="web.external_layout_bold">
|
|
<xpath expr="//ul[@name='company_address_list']" position="inside">
|
|
<t t-call="l10n_ca.pst_external_layout"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="l10n_ca_external_layout_boxed" inherit_id="web.external_layout_boxed">
|
|
<xpath expr="//ul[@name='company_address_list']" position="inside">
|
|
<t t-call="l10n_ca.pst_external_layout"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="l10n_ca_external_layout_striped" inherit_id="web.external_layout_striped">
|
|
<xpath expr="//ul[@name='company_address_list']" position="inside">
|
|
<t t-call="l10n_ca.pst_external_layout"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="l10n_ca_external_layout_bubble" inherit_id="web.external_layout_bubble">
|
|
<xpath expr="//ul[@name='company_address_list']" position="inside">
|
|
<t t-call="l10n_ca.pst_external_layout"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="l10n_ca_external_layout_wave" inherit_id="web.external_layout_wave">
|
|
<xpath expr="//ul[@name='company_address_list']" position="inside">
|
|
<t t-call="l10n_ca.pst_external_layout"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="l10n_ca_external_layout_folder" inherit_id="web.external_layout_folder">
|
|
<xpath expr="//div[hasclass('o_folder_company_info')]" position="after">
|
|
<div t-if="company.account_fiscal_country_id.code == 'CA' and company.l10n_ca_pst">
|
|
PST: <span t-field="company.l10n_ca_pst"/>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|