X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=addons%2Fstock%2Fwizard%2Fstock_return_picking.py;fp=addons%2Fstock%2Fwizard%2Fstock_return_picking.py;h=deb624ea7977f4f1533d09bb1b960c091bc9808a;hb=c15f748be05b3709f5e16680569abdc2949468e2;hp=112b233bf1fa86c89fa1c44bf167eb9bb6dc8cf2;hpb=1dbf153eb51303c4186ca5e2dacd729aadd95f28;p=odoo%2Fodoo.git diff --git a/addons/stock/wizard/stock_return_picking.py b/addons/stock/wizard/stock_return_picking.py index 112b233..deb624e 100644 --- a/addons/stock/wizard/stock_return_picking.py +++ b/addons/stock/wizard/stock_return_picking.py @@ -103,7 +103,7 @@ class stock_return_picking(osv.osv_memory): # Cancel assignment of existing chained assigned moves moves_to_unreserve = [] for move in pick.move_lines: - to_check_moves = [move.move_dest_id] + to_check_moves = [move.move_dest_id] if move.move_dest_id.id else [] while to_check_moves: current_move = to_check_moves.pop() if current_move.state not in ('done', 'cancel') and current_move.reserved_quant_ids: