Fix on_change uos to return the id not the browse record
bzr revid: ced-886ab010791e58f71009f1a0c09c5c808f8fe3d1
This commit is contained in:
parent
e73677d374
commit
f8ab2b4b71
|
@ -696,7 +696,7 @@ class sale_order_line(osv.osv):
|
|||
|
||||
product = product_obj.browse(cr, uid, product_id)
|
||||
value = {
|
||||
'product_uom' : product.uom_id,
|
||||
'product_uom' : product.uom_id.id,
|
||||
}
|
||||
# FIXME must depend on uos/uom of the product and not only of the coeff.
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue