修改获取CNC程序从工单到制造订单

This commit is contained in:
qihao.gong@jikimo.com
2024-01-05 11:23:27 +08:00
parent 583f6503ec
commit c81dc99aef
13 changed files with 47 additions and 20 deletions

View File

@@ -92,7 +92,7 @@ class MachineTool(models.Model):
type_id = fields.Many2one('sf.machine_tool.type', '型号')
brand_id = fields.Many2one('sf.machine.brand', string='品牌')
state = fields.Selection(
[("正常", "正常"), ("故障", "故障"), ("不可用", "不可用")],
[("正常", "正常"), ("故障停机", "故障停机"), ("计划维保", "计划维保"),("空闲", "空闲"),("封存(报废)", "封存(报废)")],
default='正常', string="机床状态")
# 0606新增字段
machine_tool_picture = fields.Binary('图片')