优化生产线驾驶舱,将功能刀具组装中心的按键改成组装单的跳转按键
This commit is contained in:
@@ -36,3 +36,12 @@ class CNCprocessing(models.Model):
|
||||
# 调用CAM工单程序用刀计划创建方法
|
||||
self.env['sf.cam.work.order.program.knife.plan'].create_cam_work_plan(obj)
|
||||
return obj
|
||||
|
||||
|
||||
class MrpWorkCenter(models.Model):
|
||||
_inherit = 'mrp.workcenter'
|
||||
|
||||
def action_tool_order(self):
|
||||
action = self.env.ref('sf_tool_management.sf_functional_tool_assembly_view_act')
|
||||
result = action.read()[0]
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user