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
4661124375
commit
139f605a8a
1 file changed
+1
-1
+1
-1
@@ -1459,7 +1459,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'])
|
||||
product_uom_category = fields.Function(
|
||||
fields.Many2One('product.uom.category', 'Product Uom Category',
|
||||
|
||||
Reference in new issue
Block a user