From cf1660e3cad665e198f1e7d2117266fcb7e41bbf Mon Sep 17 00:00:00 2001
From: Juliana <juliana@le-filament.com>
Date: Wed, 10 May 2023 14:24:02 +0200
Subject: [PATCH] [UPD]Change display payment method + Add company form in
 footer

---
 report/account_template.xml | 10 ++++------
 report/report_template.xml  |  3 +++
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/report/account_template.xml b/report/account_template.xml
index a5087da..f17d85f 100644
--- a/report/account_template.xml
+++ b/report/account_template.xml
@@ -453,12 +453,10 @@
                                                     class="font-weight-bold"
                                                 >Modalités de paiement : </h5>
                                                 <h6>Référence facture : <t t-esc="o.name" /></h6>
-                                                <ul t-foreach="o.acc_account_payment_ids" t-as="acc_account_payment_id">
-                                                    <li>
-                                                        <strong><span t-field="acc_account_payment_id.name_type"/></strong> -
-                                                        <span t-field="acc_account_payment_id.description"/>
-                                                    </li>
-                                                </ul>
+                                                <t t-foreach="o.acc_account_payment_ids" t-as="acc_account_payment_id">
+                                                    <strong><span t-field="acc_account_payment_id.name_type"/></strong> -
+                                                    <span t-field="acc_account_payment_id.description"/><br/>
+                                                </t>
                                             </div>
                                         </div>
                                         <div class="row mt-2">
diff --git a/report/report_template.xml b/report/report_template.xml
index 91f4c34..132aa06 100644
--- a/report/report_template.xml
+++ b/report/report_template.xml
@@ -18,6 +18,9 @@
                             <t t-if="o.producer_id.name"><span
                                     t-field="o.producer_id.name"
                                 /></t>
+                            <t t-if="o.producer_id.company_form"> - <span
+                                    t-field="o.producer_id.company_form"
+                                /></t>
                             <t t-if="o.producer_id.street"> - <span
                                     t-field="o.producer_id.street"
                                 /></t>
-- 
GitLab