diff --git a/modules/automation/automation.py b/modules/automation/automation.py index 2b8838d..3fe7000 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, - "weight_date": wr.weight_date, + "report_date": wr.report_date.isoformat(), + "weight_date": wr.weight_date.isoformat(), "agent": sh[0].agent.get_alf() } logger.info("PAYLOAD:%s",wr_payload)