From 157be7e37260d6009850b0aed0bf9b19185adcaf Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Wed, 19 May 2010 16:18:42 +0200 Subject: [PATCH] [FIX] add a selection widget for the product_uom bzr revid: stephane@openerp.com-20100519141842-2sy9m6z2c7r7mu8d --- addons/sale/sale_view.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 39ad5253b0e..a847e5bd5df 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -130,7 +130,8 @@ on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order, product_packaging, parent.fiscal_position, True)" select="1"/> + on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order)" + widget="selection"/>