From b8b9f2e6016fac98e99010a53b61996d4702fda0 Mon Sep 17 00:00:00 2001 From: Eduardo Ruiz Date: Thu, 23 Jan 2014 11:26:25 +0100 Subject: [PATCH] Add missing 'invoice_type' to on_change of product invoice_type is used in the on_change method of product. issue3586 review2731002 --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index ab3d157977..4ce5af7099 100644 --- a/invoice.py +++ b/invoice.py @@ -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',