[FIX]stock: set a destination location for move

lp bug: https://launchpad.net/bugs/925351 fixed

bzr revid: mma@tinyerp.com-20120206115011-ov9itsbjapxnoxl3
This commit is contained in:
Mayur Maheshwari (OpenERP) 2012-02-06 17:20:11 +05:30
parent 7385106b97
commit 687e7dab7f
1 changed files with 1 additions and 1 deletions

View File

@ -2452,7 +2452,7 @@ class stock_move(osv.osv):
quantity = move.product_qty
uos_qty = quantity / move_qty * move.product_uos_qty
location_dest_id = move.product_id.property_stock_production or move.location_dest_id
location_dest_id = move.location_dest_id
if quantity_rest > 0:
default_val = {
'product_qty': quantity,