11 lines
640 B
XML
11 lines
640 B
XML
<data inherit_id="account.report_invoice_document" priority="50">
|
|
<xpath expr="//address[@t-field='o.partner_id']" position="attributes">
|
|
<t t-if="o.x_hide_partner_name">
|
|
<address class="mb-0" t-field="o.partner_id" t-options="{"widget": "contact", "fields": ["address"], "no_marker": True}"/>
|
|
</t>
|
|
<t t-else="">
|
|
<address class="mb-0" t-field="o.partner_id" t-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": True}"/>
|
|
</t>
|
|
</xpath>
|
|
</data>
|