diff --git a/addons/account/models/account_payment_term.py b/addons/account/models/account_payment_term.py index c6f25724890..27f7336840e 100644 --- a/addons/account/models/account_payment_term.py +++ b/addons/account/models/account_payment_term.py @@ -278,12 +278,6 @@ class AccountPaymentTermLine(models.Model): if term_line.value == 'percent' and (term_line.value_amount < 0.0 or term_line.value_amount > 100.0): raise ValidationError(_('Percentages on the Payment Terms lines must be between 0 and 100.')) - @api.constrains('nb_days') - def _check_positive(self): - for term_line in self: - if term_line.nb_days < 0: - raise ValidationError(_('The Months and Days of the Payment Terms lines must be positive.')) - @api.depends('payment_id') def _compute_days(self): for line in self: