|
|
@@ -0,0 +1,17 @@
|
|
|
+<?xml version='1.0' encoding='utf-8'?>
|
|
|
+<odoo>
|
|
|
+ <template id="custom_report_invoice_document" inherit_id="account.report_invoice_document">
|
|
|
+ <xpath expr="//div[hasclass('row')]//div[@name='address_not_same_as_shipping']//t[@t-set='address']" position="replace">
|
|
|
+ <field t-field="o.partner_id.name" />
|
|
|
+ <address class="mb-0" t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address"], "no_marker": True}'/>
|
|
|
+ </xpath>
|
|
|
+ <xpath expr="//div[hasclass('row')]//div[@name='address_same_as_shipping']//t[@t-set='address']" position="replace">
|
|
|
+ <field t-field="o.partner_id.name" />
|
|
|
+ <address class="mb-0" t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address"], "no_marker": True}'/>
|
|
|
+ </xpath>
|
|
|
+ <xpath expr="//div[hasclass('row')]//div[@name='no_shipping']//t[@t-set='address']" position="replace">
|
|
|
+ <field t-field="o.partner_id.name" />
|
|
|
+ <address class="mb-0" t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address"], "no_marker": True}'/>
|
|
|
+ </xpath>
|
|
|
+ </template>
|
|
|
+</odoo>
|