diff --git a/invoice.py b/invoice.py index ea82636..cb2a269 100644 --- a/invoice.py +++ b/invoice.py @@ -390,6 +390,7 @@ class InvoiceLine: type_ = None super(InvoiceLine, self).on_change_product() + type_ = None if self.invoice and self.invoice.type: type_ = self.invoice.type elif self.invoice_type: