diff --git a/addons/stock/wizard/stock_return_picking.py b/addons/stock/wizard/stock_return_picking.py index 12ccadc416f69995fdf1c739c09941df384fef58..22d2208ceee9891dd2a449809fe6be638f290377 100644 --- a/addons/stock/wizard/stock_return_picking.py +++ b/addons/stock/wizard/stock_return_picking.py @@ -58,6 +58,8 @@ class stock_return_picking(osv.osv_memory): raise UserError(_("You may only return pickings that are Done!")) for move in pick.move_lines: + if move.scrapped: + continue if move.move_dest_id: chained_move_exist = True #Sum the quants in that location that can be returned (they should have been moved by the moves that were included in the returned picking)