From 32eac9b370d6670063068869d6d8e6f2d2e2ef28 Mon Sep 17 00:00:00 2001
From: jordan <jordan@le-filament.com>
Date: Wed, 5 Jan 2022 16:13:54 +0100
Subject: [PATCH] [fix] spelling "paiement"

---
 models/scop_cotisation_idf.py | 4 ++--
 models/scop_invoice_idf.py    | 4 ++--
 views/scop_cotisation_idf.xml | 2 +-
 views/scop_invoice_idf.xml    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/models/scop_cotisation_idf.py b/models/scop_cotisation_idf.py
index bd81771..0e84521 100644
--- a/models/scop_cotisation_idf.py
+++ b/models/scop_cotisation_idf.py
@@ -29,7 +29,7 @@ class ScopCotisationsIDF(models.Model):
         ('inv', 'Cotisation'),
         ('refund', 'Avoir'),
         ('reject', 'Rejet'),
-        ('pay', 'Paiment')],
+        ('pay', 'Paiement')],
         string='Type', required=True)
     lettrage = fields.Char('Référence de lettrage')
     currency_id = fields.Many2one(
@@ -59,7 +59,7 @@ class ScopCotisationsIDF(models.Model):
     payments_ids = fields.One2many(
         comodel_name='scop.cotisation.idf',
         inverse_name='invoice_id',
-        string='Paiments / Avoirs',
+        string='Paiements / Avoirs',
         required=False, readonly=True)
 
     exoneration = fields.Boolean(
diff --git a/models/scop_invoice_idf.py b/models/scop_invoice_idf.py
index 2d2e041..ea9f14c 100644
--- a/models/scop_invoice_idf.py
+++ b/models/scop_invoice_idf.py
@@ -29,7 +29,7 @@ class ScopInvoiceIDF(models.Model):
         ('inv', 'Facture'),
         ('refund', 'Avoir'),
         ('reject', 'Rejet'),
-        ('pay', 'Paiment')],
+        ('pay', 'Paiement')],
         string='Type', required=True)
     lettrage = fields.Char('Référence de lettrage')
     currency_id = fields.Many2one(
@@ -61,7 +61,7 @@ class ScopInvoiceIDF(models.Model):
     payments_ids = fields.One2many(
         comodel_name='scop.invoice.idf',
         inverse_name='invoice_id',
-        string='Paiments / Avoirs',
+        string='Paiements / Avoirs',
         required=False, readonly=True)
 
     # ------------------------------------------------------
diff --git a/views/scop_cotisation_idf.xml b/views/scop_cotisation_idf.xml
index 6ead489..c8e619c 100644
--- a/views/scop_cotisation_idf.xml
+++ b/views/scop_cotisation_idf.xml
@@ -54,7 +54,7 @@
                         <div class="oe_button_box" name="button_box">
                             <button name="action_show_partner_invoice_idf" type="object" class="oe_stat_button" icon="fa-puzzle-piece">En cours</button>
                             <button name="action_show_payments" type="object" class="oe_stat_button" icon="fa-eur"
-                                    attrs="{'invisible': ['|', ('type', '!=', 'inv'), ('payments_ids', '=', False)]}">Paiments</button>
+                                    attrs="{'invisible': ['|', ('type', '!=', 'inv'), ('payments_ids', '=', False)]}">Paiements</button>
                             <button name="action_show_invoice" type="object" class="oe_stat_button" icon="fa-calculator"
                                     attrs="{'invisible': ['|', ('type', '=', 'inv'), ('invoice_id', '=', False)]}">Cotisation</button>
                         </div>
diff --git a/views/scop_invoice_idf.xml b/views/scop_invoice_idf.xml
index ff125ec..2834ee2 100644
--- a/views/scop_invoice_idf.xml
+++ b/views/scop_invoice_idf.xml
@@ -52,7 +52,7 @@
                         <div class="oe_button_box" name="button_box">
                             <button name="action_show_partner_invoice_idf" type="object" class="oe_stat_button" icon="fa-puzzle-piece">En cours</button>
                             <button name="action_show_payments" type="object" class="oe_stat_button" icon="fa-eur"
-                                    attrs="{'invisible': ['|', ('type', '!=', 'inv'), ('payments_ids', '=', False)]}">Paiments</button>
+                                    attrs="{'invisible': ['|', ('type', '!=', 'inv'), ('payments_ids', '=', False)]}">Paiements</button>
                             <button name="action_show_invoice" type="object" class="oe_stat_button" icon="fa-calculator"
                                     attrs="{'invisible': ['|', ('type', '=', 'inv'), ('invoice_id', '=', False)]}">Facture</button>
                         </div>
-- 
GitLab