diff --git a/views/report_account.xml b/views/report_account.xml index ef5c2ee588dd79dc403efd121f3490d0cfc8a87e..3c03b62bf1a70b8f259894719a84419eea7898b1 100644 --- a/views/report_account.xml +++ b/views/report_account.xml @@ -47,7 +47,7 @@ <div class="col-auto col-3 mw-100 mb-2" t-if="o.invoice_user_id" name="referent"> <strong>Référent:</strong> - <p class="m-0"><span t-field="doc.invoice_user_id"/><t t-if="doc.invoice_user_id.phone"> , <t t-esc="doc.invoice_user_id.phone"/></t></p> + <p class="m-0"><span t-field="o.invoice_user_id"/><t t-if="o.invoice_user_id.phone">, <t t-esc="o.invoice_user_id.phone"/></t></p> </div> </div> </div> diff --git a/views/report_sale.xml b/views/report_sale.xml index e0c65b5e38c351c8e7c90952d14d41d24537d5ea..ac59c8173b9260f8b66b6f09390b60fd84f5c115 100644 --- a/views/report_sale.xml +++ b/views/report_sale.xml @@ -40,7 +40,7 @@ <div t-if="doc.user_id.name" position="replace"> <div t-if="doc.user_id.name" class="col-auto col-3 mw-100 mb-2"> <strong>Référent:</strong> - <p class="m-0"><span t-field="doc.user_id"/><t t-if="doc.user_id.phone"> , <t t-esc="doc.user_id.phone"/></t></p> + <p class="m-0"><span t-field="doc.user_id"/><t t-if="doc.user_id.phone">, <t t-esc="doc.user_id.phone"/></t></p> </div> </div> <xpath expr="//div[@class='page']" position="inside">