Skip to content
Snippets Groups Projects
Commit 219dc235 authored by Juliana's avatar Juliana
Browse files

[ADD] Add phone/mobile to invoice report

parent 85d5eda0
Branches
No related tags found
No related merge requests found
{
"name": "VRACOOP - Processus Click&Collect",
"summary": "VRACOOP - Processus Click&Collect",
"version": "12.0.1.0.1",
"version": "12.0.1.1.1",
"development_status": "Beta",
"author": "Le Filament",
"maintainers": ["remi-filament"],
......
......@@ -2,6 +2,12 @@
<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/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment