From 9ec76410f7b779fc47c42c88e7cb7c1368b7e11c Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Wed, 11 Feb 2026 08:41:58 +0100 Subject: [PATCH] 11.02.26 --- modules/automation/automation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/automation/automation.py b/modules/automation/automation.py index 6458e97..e043633 100644 --- a/modules/automation/automation.py +++ b/modules/automation/automation.py @@ -249,8 +249,8 @@ class AutomationDocument(ModelSQL, ModelView, Workflow): "bags": int(lot.lot_qt), "surveyor_code": sh[0].controller.get_alf(), "place_key": sh[0].to_location.get_places(), - "report_date": wr.report_date.isoformat() if wr.report_date else None, - "weight_date": wr.weight_date.isoformat() if wr.weight_date else None, + "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() } logger.info("PAYLOAD:%s",wr_payload)