Use unique shipment on Move

issue2642
review717002
This commit is contained in:
Cédric Krier committed 2013-03-23 15:40:54 +01:00
1 parent a7e43328b0
commit 8a273c7bf6
1 file changed
+1 -1
+1 -1
View File
@@ -131,7 +131,7 @@ class SaleLine:
return
moves = set()
for move in self.moves:
for inv_move in move.shipment_out.inventory_moves:
for inv_move in move.shipment.inventory_moves:
if inv_move.product.id == self.product.id:
moves.add(inv_move)
for move in moves: