39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<?xml version="1.0"?>
|
|
<data inherit_id="account.report_invoice_document" priority="50">
|
|
<xpath expr="//t[@t-set='address']/address" position="replace">
|
|
<address>
|
|
<t t-if="o.partner_id.invoice_name">
|
|
<div>
|
|
<span t-esc="o.partner_id.invoice_name"/>
|
|
</div>
|
|
</t>
|
|
<t t-if="o.partner_id.address_addition">
|
|
<div>
|
|
<span t-esc="o.partner_id.address_addition"/>
|
|
</div>
|
|
</t>
|
|
<t t-if="o.partner_id.street">
|
|
<div>
|
|
<span t-esc="o.partner_id.street"/>
|
|
</div>
|
|
</t>
|
|
<t t-if="o.partner_id.street2">
|
|
<div>
|
|
<span t-esc="o.partner_id.street2"/>
|
|
</div>
|
|
</t>
|
|
<t t-if="o.partner_id.city and o.partner_id.city">
|
|
<div>
|
|
<span t-esc="o.partner_id.zip"/>
|
|
<span t-esc="o.partner_id.city"/>
|
|
</div>
|
|
</t>
|
|
<t t-if="o.partner_id.country_id">
|
|
<div>
|
|
<span t-esc="o.partner_id.country_id.name"/>
|
|
</div>
|
|
</t>
|
|
</address>
|
|
</xpath>
|
|
</data>
|