mirror of
https://gitlab.com/datalifeit/trytond-aeat_340
synced 2023-12-14 06:03:02 +01:00
FIX type_ in on_change_product
This commit is contained in:
parent
440f358c4c
commit
5a8b441b72
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue