From ee43fcd17632697c87abe39a38e8dd8284e7988f Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Tue, 3 Nov 2015 16:14:51 +0100 Subject: [PATCH] [FIX] stock: false_quants_move false_quants_move must be a list of stock.quant records. opw:653731 --- addons/stock/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index c75f978f14b..69d51eea942 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -2548,7 +2548,7 @@ class stock_move(osv.osv): dest_package_id=quant_dest_package_id, context=context) if redo_false_quants: move_rec = self.pool['stock.move'].browse(cr, uid, move, context=context) - false_quants_move = [(x, x.qty) for x in move_rec.reserved_quant_ids if not x.lot_id] + false_quants_move = [x for x in move_rec.reserved_quant_ids if not x.lot_id] def action_done(self, cr, uid, ids, context=None): """ Process completely the moves given as ids and if all moves are done, it will finish the picking.