main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit 703c7e46fa - Show all commits

View File

@@ -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: