This commit is contained in:
2026-01-17 09:53:19 +01:00
parent 8e38ceb13e
commit b43db20bc4

View File

@@ -583,7 +583,7 @@ class Lot(metaclass=PoolMeta):
lm = sorted(self.lot_move, key=lambda x: x.sequence, reverse=True)
for m in lm:
if m.move.from_location.type == 'supplier' and m.move.state == 'done':
return m
return m.move
return None
def GetShipment(self,type):