Commit abac60f5 by 夏超

[fix] 上推领料单数据修改

parent dce8e010
......@@ -67,7 +67,7 @@ class InheritRokeWorkstationPicking(RokeWorkstationPicking):
for row in rows
]
for row in rows_data:
product = http.request.env["roke.product"].sudo().search([("code", "=", v.get("wlbh", ""))], limit=1)
product = http.request.env["roke.product"].sudo().search([("code", "=", row.get("wlbh", ""))], limit=1)
line_data.append({
"pt_demand_id": product.id,
"task_id": v.id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment