Update of Snippet
This commit is contained in:
1 parent
317a91b8bb
commit
ab6ebdfc30
1 file changed
+15
-8
@@ -1,15 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
|
||||
<xpath expr="/t/t/div/p[2]" position="after">
|
||||
<t t-if="o.currency_id.name=='CHF'">
|
||||
<t t-set="account" t-value="o.company_id.bank_ids.browse(13)"/>
|
||||
|
||||
<t t-if="o.company_id.id==1">
|
||||
<t t-if="o.currency_id.name=='CHF'">
|
||||
<t t-set="account" t-value="o.company_id.bank_ids.browse(4)"/>
|
||||
</t>
|
||||
<t t-if="o.currency_id.name=='EUR'">
|
||||
<t t-set="account" t-value="o.company_id.bank_ids.browse(5)"/>
|
||||
</t>
|
||||
</t>
|
||||
<t t-if="o.currency_id.name=='EUR'">
|
||||
<t t-set="account" t-value="o.company_id.bank_ids.browse(14)"/>
|
||||
</t>
|
||||
<t t-if="o.currency_id.name=='USD'">
|
||||
<t t-set="account" t-value="o.company_id.bank_ids.browse(15)"/>
|
||||
|
||||
<t t-if="o.company_id.id==3">
|
||||
<t t-set="account" t-value="o.company_id.bank_ids.browse(21)"/>
|
||||
</t>
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<span>IBAN: </span>
|
||||
@@ -22,4 +28,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
</data>
|
||||
Reference in new issue
Block a user