[FIX]stock:improvement is done

bzr revid: mma@tinyerp.com-20120206132612-7lcnjhz4hqzeninl
This commit is contained in:
Mayur Maheshwari (OpenERP) 2012-02-06 18:56:12 +05:30
parent 2672349092
commit 7410370486
1 changed files with 1 additions and 0 deletions

View File

@ -2473,6 +2473,7 @@ class stock_move(osv.osv):
update_val = {
'product_qty' : quantity_rest,
'product_uos_qty' : uos_qty_rest,
'location_id': location_id or move.location_id.id,
}
self.write(cr, uid, [move.id], update_val)