mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 21:22:01 +02:00
19.0 vanilla
This commit is contained in:
parent
ff721d030e
commit
7721452493
1826 changed files with 124775 additions and 274114 deletions
|
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="report_invoice_document" inherit_id="account.report_invoice_document">
|
||||
<!-- add company id to partner details-->
|
||||
<xpath expr="//div[@id='partner_vat_address_not_same_as_shipping']" position="before">
|
||||
<div t-if="o.partner_id.company_registry and o.company_id.country_code == 'SK'">
|
||||
ID: <span t-field="o.partner_id.company_registry"/>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//div[@id='partner_vat_address_same_as_shipping']" position="before">
|
||||
<div t-if="o.partner_id.company_registry and o.company_id.country_code == 'SK'">
|
||||
ID: <span t-field="o.partner_id.company_registry"/>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//div[@id='partner_vat_no_shipping']" position="before">
|
||||
<div t-if="o.partner_id.company_registry and o.company_id.country_code == 'SK'">
|
||||
ID: <span t-field="o.partner_id.company_registry"/>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
<!-- add trade registry-->
|
||||
<xpath expr="//div[@name='comment']" position="after">
|
||||
<p t-if="o.company_id.trade_registry and o.company_id.country_code == 'SK'" name="trade_registry">
|
||||
<strong>Trade registry: </strong><t t-out="o.company_id.trade_registry"/>
|
||||
</p>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue