修复员工模块js问题、能力特征哭js问题、设备处问题

This commit is contained in:
mgw
2024-03-25 16:17:19 +08:00
parent 53c4b01a74
commit ed8c39d005
3 changed files with 12 additions and 9 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):