17.01.26
This commit is contained in:
@@ -583,7 +583,7 @@ class Lot(metaclass=PoolMeta):
|
|||||||
lm = sorted(self.lot_move, key=lambda x: x.sequence, reverse=True)
|
lm = sorted(self.lot_move, key=lambda x: x.sequence, reverse=True)
|
||||||
for m in lm:
|
for m in lm:
|
||||||
if m.move.from_location.type == 'supplier' and m.move.state == 'done':
|
if m.move.from_location.type == 'supplier' and m.move.state == 'done':
|
||||||
return m
|
return m.move
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def GetShipment(self,type):
|
def GetShipment(self,type):
|
||||||
|
|||||||
Reference in New Issue
Block a user