This commit is contained in:
2026-01-26 21:06:23 +01:00
parent 58b360ed6c
commit e2fc7178c4

View File

@@ -227,11 +227,11 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
t.SELL_PREMIUM,
t.SALE_CONTRACT_NUMBER,
t.SALE_DECLARATION_KEY,
where=(t.BOOKING_NUMBER == sh[0].bl_number)
# where=(t.BOOKING_NUMBER == sh[0].bl_number)
)
cursor.execute(*query)
logger.info("QUERY:%s",*query)
cursor.execute(*query)
rows = cursor.fetchall()
logger.info("ROWS:%s",rows)
if rows: