02.02.26
This commit is contained in:
@@ -2058,7 +2058,9 @@ class Line(sequence_ordered(), ModelSQL, ModelView):
|
|||||||
to_location = self.purchase.to_location
|
to_location = self.purchase.to_location
|
||||||
|
|
||||||
move.from_location = from_location
|
move.from_location = from_location
|
||||||
|
logger.info("FROM_LOCATION:%s",self.purchase.from_location)
|
||||||
|
logger.info("TO_LOCATION:%s",self.purchase.to_location)
|
||||||
|
if to_location:
|
||||||
if to_location.type != 'customer':
|
if to_location.type != 'customer':
|
||||||
move.to_location = Location.get_transit_id()
|
move.to_location = Location.get_transit_id()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user