diff --git a/modules/automation/automation.py b/modules/automation/automation.py index f7c2e61..4e98aee 100644 --- a/modules/automation/automation.py +++ b/modules/automation/automation.py @@ -265,7 +265,7 @@ class AutomationDocument(ModelSQL, ModelView, Workflow): "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(), - "forwarder_ref": sh[0].reference + "forwarder_ref": sh[0].returned_id } logger.info("PAYLOAD:%s",wr_payload) data = doc.create_weight_report(wr_payload)