16.03.26
This commit is contained in:
@@ -365,7 +365,13 @@ class Sale(metaclass=PoolMeta):
|
||||
shipment = self.lines[0].lots[1].lot_shipment_in
|
||||
lot = self.lines[0].lots[1].lot_name
|
||||
if shipment:
|
||||
info = 'B/L ' + shipment.bl_number
|
||||
info = ''
|
||||
if shipment.bl_number:
|
||||
info += ' B/L ' + shipment.bl_number
|
||||
if shipment.supplier:
|
||||
info += ' BY ' + shipment.supplier.name
|
||||
if shipment.vessel:
|
||||
info += ' (' + shipment.vessel.vessel_name + ')'
|
||||
if shipment.container and shipment.container[0].container_no:
|
||||
id = 1
|
||||
for cont in shipment.container:
|
||||
@@ -376,7 +382,7 @@ class Sale(metaclass=PoolMeta):
|
||||
else:
|
||||
info += ' unnamed'
|
||||
id += 1
|
||||
info += ' (LOT ' + lot + ')'
|
||||
# info += ' (LOT ' + lot + ')'
|
||||
if shipment.note:
|
||||
info += ' ' + shipment.note
|
||||
return info
|
||||
|
||||
Reference in New Issue
Block a user