[FIX] sale : passed context argument in product_id_change call in product_uom_change method of sale/sale.py
lp bug: https://launchpad.net/bugs/907715 fixed bzr revid: bde@tinyerp.com-20111222120959-dsk7b6lspzcxk3vm
This commit is contained in:
parent
ab5f1f876a
commit
b57608c859
|
@ -1274,7 +1274,7 @@ class sale_order_line(osv.osv):
|
|||
res = self.product_id_change(cursor, user, ids, pricelist, product,
|
||||
qty=qty, uom=uom, qty_uos=qty_uos, uos=uos, name=name,
|
||||
partner_id=partner_id, lang=lang, update_tax=update_tax,
|
||||
date_order=date_order)
|
||||
date_order=date_order, context=context)
|
||||
if 'product_uom' in res['value']:
|
||||
del res['value']['product_uom']
|
||||
if not uom:
|
||||
|
|
Loading…
Reference in New Issue