修改工序类型

This commit is contained in:
jinling.yang
2022-11-08 10:16:43 +08:00
parent f92c5d5648
commit 1ebfbc07b9
2 changed files with 9 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ class MrpProduction(models.Model):
'operation_id': False,
'name': route.route_workcenter_id.name,
'processing_panel': k,
'routing_type': route.route_workcenter_id.routing_type,
'routing_type': route.routing_type,
'workcenter_id': self.env['mrp.routing.workcenter'].get_workcenter(route.workcenter_ids.ids),
'date_planned_start': False,
'date_planned_finished': False,