02.02.26
This commit is contained in:
@@ -2058,11 +2058,13 @@ 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)
|
||||||
if to_location.type != 'customer':
|
logger.info("TO_LOCATION:%s",self.purchase.to_location)
|
||||||
move.to_location = Location.get_transit_id()
|
if to_location:
|
||||||
else:
|
if to_location.type != 'customer':
|
||||||
move.to_location = to_location
|
move.to_location = Location.get_transit_id()
|
||||||
|
else:
|
||||||
|
move.to_location = to_location
|
||||||
|
|
||||||
unit_price = l.get_lot_price()
|
unit_price = l.get_lot_price()
|
||||||
# if l.invoice_line_prov != None :
|
# if l.invoice_line_prov != None :
|
||||||
|
|||||||
Reference in New Issue
Block a user