From 3581b7ea8047e976be03527bf63902c43ccb04df Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Wed, 18 Mar 2026 10:53:29 +0100 Subject: [PATCH] 18.03.26 --- modules/automation/automation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/automation/automation.py b/modules/automation/automation.py index 999dc91..f7c2e61 100644 --- a/modules/automation/automation.py +++ b/modules/automation/automation.py @@ -264,7 +264,8 @@ class AutomationDocument(ModelSQL, ModelView, Workflow): "place_key": sh[0].to_location.get_places(), "report_date": int(wr.report_date.strftime("%Y%m%d")),#wr.report_date.isoformat() if wr.report_date else None, "weight_date": int(wr.weight_date.strftime("%Y%m%d")),#wr.weight_date.isoformat() if wr.weight_date else None, - "agent": sh[0].agent.get_alf() + "agent": sh[0].agent.get_alf(), + "forwarder_ref": sh[0].reference } logger.info("PAYLOAD:%s",wr_payload) data = doc.create_weight_report(wr_payload)