[FIX] purchase: do not pass uom in product_id_change when changing of product
authorDenis Ledoux <dle@odoo.com>
Wed, 8 Oct 2014 15:20:13 +0000 (17:20 +0200)
committerDenis Ledoux <dle@odoo.com>
Wed, 8 Oct 2014 15:21:29 +0000 (17:21 +0200)
commitb675ff1f0ae9e4086ef8e1b0347ca6eec2623313
tree66604313feab9505391f7378d0fef0b07ba7b070
parent619a844428a46c731a6a4add0c73b6b963622993
[FIX] purchase: do not pass uom in product_id_change when changing of product

To allow the on change to set the product default unit of measure when changing of product, and only in this case (not when changing price or quantity)
addons/purchase/purchase_view.xml