Fix: populate correctly uom_index [part II]

This commit is contained in:
Bertrand Chenal committed 2008-05-07 01:45:12 +02:00
1 parent 273f017ca7
commit 0a6c1eb47b
1 file changed
-1
-1
View File
@@ -300,7 +300,6 @@ class PackingOut(OSV):
for move in packing.inventory_moves:
if move.state != 'waiting': continue
inventory_moves.append(move)
uom_index[move.uom.id] = move.uom
location_index[move.from_location.id] = move.from_location
if move.from_location.id in parent_to_locations:
continue