diff --git a/models/scop_cotisation_idf.py b/models/scop_cotisation_idf.py index bd8177146abd1668b79b4ba0f887483e4e223a69..0e84521255859eed51cfed1e5cd147fddee40cbd 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 2d2e041d4acd12fa6fce1237cfb577748fbf6569..ea9f14c8fa2163894b2d49b5593d6eda17f238a0 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 6ead489f3b04afad52f1b473bd2f3eb3c72669d6..c8e619c7b83aaab323017c9303b2ca91b2dad2e4 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 ff125ec88bd2eb52b20ff6cd956e17acfd97a80d..2834ee2bd4f68ca16fe588db72195463bdba6163 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>