From 2ce5111f5af8ce41f8a32b66aec13515ef8634c5 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sat, 12 Sep 2015 19:27:13 +0200 Subject: [PATCH] [FIX] small fix in stock, partial picking --- addons/stock/stock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index a6f395f6525..387d12c528d 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1645,6 +1645,7 @@ class stock_picking(models.Model): todo_move_ids.append(move.id) #Assign move as it was assigned before toassign_move_ids.append(new_move) + todo_move_ids = list(set(todo_move_ids)) if need_rereserve or not all_op_processed: if not picking.location_id.usage in ("supplier", "production", "inventory"): self.rereserve_quants(cr, uid, picking, move_ids=todo_move_ids, context=context)