main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit 9ec76410f7 - Show all commits

View File

@@ -249,8 +249,8 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
"bags": int(lot.lot_qt), "bags": int(lot.lot_qt),
"surveyor_code": sh[0].controller.get_alf(), "surveyor_code": sh[0].controller.get_alf(),
"place_key": sh[0].to_location.get_places(), "place_key": sh[0].to_location.get_places(),
"report_date": wr.report_date.isoformat() if wr.report_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": wr.weight_date.isoformat() if wr.weight_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()
} }
logger.info("PAYLOAD:%s",wr_payload) logger.info("PAYLOAD:%s",wr_payload)