[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:
parent
7385106b97
commit
687e7dab7f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue