You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.4 KiB
25 lines
1.4 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<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.vracoop_point_retrait_id">
|
|
<strong>Point de retrait:</strong> <span t-field="o.vracoop_point_retrait_id"/><br/>
|
|
<strong>Adresse: </strong><br/>
|
|
<span t-field="o.vracoop_point_retrait_id.street"/><br/>
|
|
<span t-field="o.vracoop_point_retrait_id.street2"/><br/>
|
|
<span t-field="o.vracoop_point_retrait_id.zip"/> - <span t-field="o.vracoop_point_retrait_id.city"/><br/><br/>
|
|
<strong>Jour de retrait:</strong> <span t-field="o.day_retrait"/><br/>
|
|
<strong>Heure de retrait:</strong> <span t-field="o.hour_retrait" t-options= '{"widget": "float_time"}'/>
|
|
</p>
|
|
</p>
|
|
</template>
|
|
|
|
</data>
|
|
</odoo>
|