From d6743a9f78316042f671f7d76a1ab7091fed6314 Mon Sep 17 00:00:00 2001 From: Juliana <juliana@le-filament.com> Date: Wed, 19 Apr 2023 11:46:21 +0200 Subject: [PATCH] [UPD]Change origine field display PDF --- report/account_template.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/report/account_template.xml b/report/account_template.xml index 0bfdca1..740afcc 100644 --- a/report/account_template.xml +++ b/report/account_template.xml @@ -289,11 +289,18 @@ <t t-foreach="o.acc_operation_id.acc_injection_ids" t-as="inj"> <span t-field="inj.name" /><br /> </t> - <t t-if="o.producer_id.origine"> + <t t-if="o.acc_operation_id.acc_origine_ids"> <span class="font-weight-bold" - >Origine : </span> - <span t-field="o.producer_id.origine"/><br/> + >Origines : </span> + <t t-foreach="o.acc_operation_id.acc_origine_ids" t-as="origine"> + <t t-if="origine_first"> + <span t-field="origine.name"/> + </t> + <t t-else=""> + - <span t-field="origine.name"/> + </t> + </t> </t> </p> <h5 class="font-weight-bold mb-3 mt-5 text-center">Une question ?</h5> -- GitLab