From 8a273c7bf6e82488aed65e27913cd6dcaabf9339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 23 Mar 2013 15:40:54 +0100 Subject: [PATCH] Use unique shipment on Move issue2642 review717002 --- sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale.py b/sale.py index a39471ef4f..ca3c5ab5f3 100644 --- a/sale.py +++ b/sale.py @@ -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: