Add missing 'invoice_type' to on_change of product

invoice_type is used in the on_change method of product.

issue3586
review2731002
This commit is contained in:
Eduardo Ruiz committed 2014-01-23 11:26:25 +01:00
1 parent 0b4f571e55
commit b8b9f2e601
1 file changed
+1 -1
+1 -1
View File
@@ -1488,7 +1488,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',