Commit 97a7f48e by 夏超

[fix] 修改问题,添加返修明细

parent 30d7abc4
...@@ -46,6 +46,7 @@ class InheritRokeCreateWorkRecordWizard(models.TransientModel): ...@@ -46,6 +46,7 @@ class InheritRokeCreateWorkRecordWizard(models.TransientModel):
"planned_start_time": new_record.work_order_id.planned_start_time, "planned_start_time": new_record.work_order_id.planned_start_time,
"plan_date": new_record.work_order_id.plan_date, "plan_date": new_record.work_order_id.plan_date,
"repair_task_id": new_record.pt_id.id or repair.wo_id.repair_task_id.id, "repair_task_id": new_record.pt_id.id or repair.wo_id.repair_task_id.id,
"repair_line_id": v.id,
"type": "返修" "type": "返修"
}) })
data = { data = {
......
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