diff --git a/modules/automation/automation.py b/modules/automation/automation.py index 54cc348..40fdebc 100644 --- a/modules/automation/automation.py +++ b/modules/automation/automation.py @@ -225,8 +225,8 @@ class AutomationDocument(ModelSQL, ModelView, Workflow): t.SELL_INV_AMOUNT, t.SALE_INVOICE_DATE, t.SELL_PREMIUM, - t.SALE_CONTRACT, - t.DECLARATION_KEY, + t.SALE_CONTRACT_NUMBER, + t.SALE_DECLARATION_KEY, where=(t.BOOKING_NUMBER == sh[0].bl_number) ))