Skip to content

Commit

Permalink
[IMP] Keep "move_dest_id" value in original stock.move for easier
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-papouin authored and Stefan Rijnhart committed Jul 2, 2014
1 parent c2d2800 commit 4ccd9b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/stock/stock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ def do_partial(self, cr, uid, ids, partial_datas, context=None):
'product_uos_qty': product_qty, #TODO: put correct uos_qty
'picking_id' : new_picking,
'state': 'assigned',
'move_dest_id': False,
'move_dest_id': move.move_dest_id.id,
'price_unit': move.price_unit,
'product_uom': product_uoms[move.id]
}
Expand Down Expand Up @@ -2753,7 +2753,7 @@ def do_partial(self, cr, uid, ids, partial_datas, context=None):
'product_uos_qty': product_qty,
'picking_id' : move.picking_id.id,
'state': 'assigned',
'move_dest_id': False,
'move_dest_id': move.move_dest_id.id,
'price_unit': move.price_unit,
}
prodlot_id = prodlot_ids[move.id]
Expand Down

0 comments on commit 4ccd9b9

Please sign in to comment.