02.02.26
This commit is contained in:
@@ -2058,11 +2058,13 @@ class Line(sequence_ordered(), ModelSQL, ModelView):
|
||||
to_location = self.purchase.to_location
|
||||
|
||||
move.from_location = from_location
|
||||
|
||||
if to_location.type != 'customer':
|
||||
move.to_location = Location.get_transit_id()
|
||||
else:
|
||||
move.to_location = to_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':
|
||||
move.to_location = Location.get_transit_id()
|
||||
else:
|
||||
move.to_location = to_location
|
||||
|
||||
unit_price = l.get_lot_price()
|
||||
# if l.invoice_line_prov != None :
|
||||
|
||||
Reference in New Issue
Block a user