From 49731501d6795bbae811c49b119a334e128f0e79 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sun, 18 Jan 2026 22:00:54 +0100 Subject: [PATCH] 18.01.26 --- modules/automation/freight_booking.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/modules/automation/freight_booking.py b/modules/automation/freight_booking.py index 080eb4f..83a86de 100644 --- a/modules/automation/freight_booking.py +++ b/modules/automation/freight_booking.py @@ -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