This commit is contained in:
2026-01-26 21:14:21 +01:00
parent e2fc7178c4
commit 72b1d4ffcd

View File

@@ -227,7 +227,7 @@ 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 == int(sh[0].bl_number))
)
logger.info("QUERY:%s",*query)
cursor.execute(*query)