|
@ -2,6 +2,12 @@ |
|
|
<odoo> |
|
|
<odoo> |
|
|
<data> |
|
|
<data> |
|
|
<template id="report_invoice_document" inherit_id="account.report_invoice_document"> |
|
|
<template id="report_invoice_document" inherit_id="account.report_invoice_document"> |
|
|
|
|
|
<xpath expr="//t[@t-set='address']" position="replace"> |
|
|
|
|
|
<t t-set="address"> |
|
|
|
|
|
<address t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address", "name", "phone", "mobile"], "no_marker": True}' /> |
|
|
|
|
|
<div t-if="o.partner_id.vat" class="mt16"><t t-esc="o.company_id.country_id.vat_label or 'Tax ID'"/>: <span t-field="o.partner_id.vat"/></div> |
|
|
|
|
|
</t> |
|
|
|
|
|
</xpath> |
|
|
<p t-if="o.reference" position="before"> |
|
|
<p t-if="o.reference" position="before"> |
|
|
<p t-if="o.vracoop_point_retrait_id"> |
|
|
<p t-if="o.vracoop_point_retrait_id"> |
|
|
<strong>Point de retrait:</strong> <span t-field="o.vracoop_point_retrait_id"/><br/> |
|
|
<strong>Point de retrait:</strong> <span t-field="o.vracoop_point_retrait_id"/><br/> |
|
|