Merge branch 'develop' of https://e.coding.net/jikimo-hn/jikimo_sfs/jikimo_sf into feature/修改机床参数bug

This commit is contained in:
qihao.gong@jikimo.com
2024-04-23 10:11:38 +08:00
76 changed files with 4113 additions and 2292 deletions

View File

@@ -148,7 +148,7 @@ class SfMaintenanceEquipment(models.Model):
MTcode = fields.Char("机台编码")
created_user = fields.Many2one('res.users', string='创建人', default=lambda self: self.env.user)
equipment_type = fields.Selection([('机床', '机床'), ('机器人', '机器人'), ('AGV小车', 'AGV小车'),
('检测设备', '检测设备')], compute='_compute_category_id')
('检测设备', '检测设备'), ('其他', '其他')], compute='_compute_category_id')
@api.depends('category_id')
def _compute_category_id(self):