diff --git a/invoice.py b/invoice.py index 4d3f453213..85a1b6035a 100644 --- a/invoice.py +++ b/invoice.py @@ -492,6 +492,8 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin): self.payment_term = self.party.customer_payment_term elif self.type == 'in': self.payment_term = self.party.supplier_payment_term + else: + self.payment_term = None @fields.depends('invoice_date') def on_change_with_currency_date(self, name=None):