1、当检测到缺刀工单需要的功能刀具从刀具房出库到线边刀架时,更改cnc编程单的功能刀具状态为正常;
This commit is contained in:
@@ -10,8 +10,6 @@ class CNCprocessing(models.Model):
|
||||
_inherit = 'sf.cnc.processing'
|
||||
_description = 'CNC加工用刀检测'
|
||||
|
||||
tool_state = fields.Selection([('0', '正常'), ('1', '缺刀'), ('2', '无效刀')], string='刀具状态', default='0')
|
||||
|
||||
# ==========MES装刀指令接口==========
|
||||
# def register_cnc_processing(self, knife_plan):
|
||||
# config = self.env['res.config.settings'].get_values()
|
||||
|
||||
Reference in New Issue
Block a user