diff --git a/invoice.py b/invoice.py index a2e4003ce0..c17dee6219 100644 --- a/invoice.py +++ b/invoice.py @@ -999,7 +999,7 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin): total, self.company.currency, payment_date) remainder_total_currency = total_currency for date, amount in term_lines: - if date < today: + if self.type == 'out' and date < today: lang = Lang.get() warning_key = 'invoice_payment_term_%d' % self.id if Warning.check(warning_key):