diff --git a/modules/automation/automation.py b/modules/automation/automation.py index b451c71..3cc8e95 100644 --- a/modules/automation/automation.py +++ b/modules/automation/automation.py @@ -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: