diff --git a/models/scop_cotisations_idf.py b/models/scop_cotisations_idf.py index f7e34d0a6b77f8bcd331bdb05cf77981994a7936..5e6dd19043a9c490337030bd2dca3fa6d527a341 100644 --- a/models/scop_cotisations_idf.py +++ b/models/scop_cotisations_idf.py @@ -30,7 +30,7 @@ class ScopCotisationsIDF(models.Model): ('refund', 'Avoir'), ('reject', 'Rejet'), ('pay', 'Paiment')], - string='Type', ) + string='Type', required=True) lettrage = fields.Char('Lettrage') currency_id = fields.Many2one( comodel_name='res.currency', diff --git a/models/scop_invoice_idf.py b/models/scop_invoice_idf.py index 347c181b886c79d9fb2a3b39d08d132d78f13d49..99ebd0cba191f76b501a304ba13a7661596b7c25 100644 --- a/models/scop_invoice_idf.py +++ b/models/scop_invoice_idf.py @@ -30,7 +30,7 @@ class ScopInvoiceIDF(models.Model): ('refund', 'Avoir'), ('reject', 'Rejet'), ('pay', 'Paiment')], - string='Type',) + string='Type', required=True) lettrage = fields.Char('Lettrage') currency_id = fields.Many2one( comodel_name='res.currency',