From 82a0e55e61374b8d9c00c69dcf4ffb6d81ceecbb Mon Sep 17 00:00:00 2001
From: jordan <jordan@le-filament.com>
Date: Mon, 6 Dec 2021 11:48:26 +0100
Subject: [PATCH] [fix] update report to remove error

---
 report/report_scop_bordereau.xml          | 6 +++---
 report/report_scop_bordereau_payments.xml | 6 +++---
 wizard/scop_bordereau_refund_wizard.xml   | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/report/report_scop_bordereau.xml b/report/report_scop_bordereau.xml
index fc504bd..2457b56 100644
--- a/report/report_scop_bordereau.xml
+++ b/report/report_scop_bordereau.xml
@@ -46,15 +46,15 @@
                             <div></div>
                             <h5 class="mt8" style="font-weight: 600;">Cotisations annuelles</h5>
                             <p style="font-style: italic; font-size: 13px;">
-                                <t t-if="o.year_liasse_retenue">Calcul basé sur la liasse fiscale
+                                <t t-if="o.year_liasse">Calcul basé sur la liasse fiscale
                                     <t t-if="o.is_liasse_previ">
                                         <span>Prévisionnelle</span><br/>
                                     </t>
                                     <t t-else="">
-                                        <span t-esc="str(o.year_liasse_retenue)" /><br/>
+                                        <span t-esc="str(o.year_liasse)" /><br/>
                                     </t>
                                 </t>
-                                Assiette base <span t-field="o.type_assiette_retenu" /> : <span t-field="o.montant_assiette"  t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}" />.
+                                Assiette base <span t-field="o.type_assiette" /> : <span t-field="o.montant_assiette"  t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}" />.
                             </p>
                             <p>
                                 <t t-set="amount_line" t-value="o.get_contribution_type()" />
diff --git a/report/report_scop_bordereau_payments.xml b/report/report_scop_bordereau_payments.xml
index ef31481..fd2a32c 100644
--- a/report/report_scop_bordereau_payments.xml
+++ b/report/report_scop_bordereau_payments.xml
@@ -37,15 +37,15 @@
                             <div></div>
                             <h5 class="mt8" style="font-weight: 600;">Cotisations annuelles</h5>
                             <p style="font-style: italic; font-size: 13px;">
-                                <t t-if="o.year_liasse_retenue">Calcul basé sur la liasse fiscale
+                                <t t-if="o.year_liasse">Calcul basé sur la liasse fiscale
                                     <t t-if="o.is_liasse_previ">
                                         <span>Prévisionnelle</span><br/>
                                     </t>
                                     <t t-else="">
-                                        <span t-esc="str(o.year_liasse_retenue)" /><br/>
+                                        <span t-esc="str(o.year_liasse)" /><br/>
                                     </t>
                                 </t>
-                                Assiette base <span t-field="o.type_assiette_retenu" /> : <span t-field="o.montant_assiette"  t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}" />.
+                                Assiette base <span t-field="o.type_assiette" /> : <span t-field="o.montant_assiette"  t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}" />.
                             </p>
                             <p>
                                 <t t-set="amount_line" t-value="o.get_contribution_type()" />
diff --git a/wizard/scop_bordereau_refund_wizard.xml b/wizard/scop_bordereau_refund_wizard.xml
index b44e878..08e8104 100644
--- a/wizard/scop_bordereau_refund_wizard.xml
+++ b/wizard/scop_bordereau_refund_wizard.xml
@@ -10,7 +10,7 @@
             <field name="arch" type="xml">
                 <form string="Générer un avoir">
                     <sheet>
-                        <group string="Nouveaux calculs">
+                        <group>
                             <field name="date_refund"/>
                             <separator/>
                             <field name="amount_refund"/>
-- 
GitLab