This commit is contained in:
2026-01-18 22:00:54 +01:00
parent 661d38404a
commit 49731501d6

View File

@@ -29,19 +29,19 @@ class FreightBookingInfo(ModelSQL, ModelView):
CurrentTimestamp().as_('create_date'),
Literal(None).as_('write_uid'),
Literal(None).as_('write_date'),
(t.FintradeBookingKey+t.ShippingInstructionNumber).as_('id'),
t.ShippingInstructionNumber.as_('booking_number'),
t.BookingAgent.as_('agent'),
t.ExpectedController.as_('controller'),
t.Loading.as_('origin'),
t.Destination.as_('destination'),
t.ETD_Date.as_('etd'),
t.BL_Date.as_('bl_date'),
t.BL_Number.as_('bl_number'),
t.Carrier.as_('carrier'),
t.Vessel.as_('vessel'),
t.NumberOfContainers.as_('container_count'),
t.ShippingInstructionQuantity.as_('quantity')
Column('FintradeBookingKey', t).as_('id'),
Column('ShippingInstructionNumber', t).as_('booking_number'),
Column('BookingAgent', t).as_('agent'),
Column('ExpectedController', t).as_('controller'),
Column('Loading', t).as_('origin'),
Column('Destination', t).as_('destination'),
Column('ETD_Date', t).as_('etd'),
Column('BL_Date', t).as_('bl_date'),
Column('BL_Number', t).as_('bl_number'),
Column('Carrier', t).as_('carrier'),
Column('Vessel', t).as_('vessel'),
Column('NumberOfContainers', t).as_('container_count'),
Column('ShippingInstructionQuantity', t).as_('quantity'),
)
@classmethod