From 336c2415b334feb9dc9732dc866c79b032741998 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sun, 18 Jan 2026 22:08:41 +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 83a86de..c291967 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'), - 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'), + Column(t, 'FintradeBookingKey').as_('id'), + Column(t, 'ShippingInstructionNumber').as_('booking_number'), + Column(t, 'BookingAgent').as_('agent'), + Column(t, 'ExpectedController').as_('controller'), + Column(t, 'Loading').as_('origin'), + Column(t, 'Destination').as_('destination'), + Column(t, 'ETD_Date').as_('etd'), + Column(t, 'BL_Date').as_('bl_date'), + Column(t, 'BL_Number').as_('bl_number'), + Column(t, 'Carrier').as_('carrier'), + Column(t, 'Vessel').as_('vessel'), + Column(t, 'NumberOfContainers').as_('container_count'), + Column(t, 'ShippingInstructionQuantity').as_('quantity'), ) @classmethod