Add missing 'invoice_type' to on_change of product
invoice_type is used in the on_change method of product. issue3586 review2731002 (transplanted from 65bde6c273e26f8eb6cd7c5bff9ee5dab7ae7502)
This commit is contained in:
1 parent
dfefebd6c8
commit
29ce13f47f
1 file changed
+1
-1
+1
-1
@@ -1366,7 +1366,7 @@ class InvoiceLine(ModelSQL, ModelView):
|
||||
on_change=['product', 'unit', 'quantity', 'description',
|
||||
'_parent_invoice.type', '_parent_invoice.party',
|
||||
'_parent_invoice.currency', '_parent_invoice.currency_date',
|
||||
'party', 'currency', 'invoice'],
|
||||
'party', 'currency', 'invoice', 'invoice_type'],
|
||||
depends=['type'])
|
||||
account = fields.Many2One('account.account', 'Account',
|
||||
domain=[
|
||||
|
||||
Reference in new issue
Block a user