设备类别新增选项

This commit is contained in:
qihao.gong@jikimo.com
2023-09-22 17:01:03 +08:00
parent f03b77f9bb
commit 681b769356
8 changed files with 1 additions and 202 deletions

View File

@@ -14,7 +14,7 @@ class SfMaintenanceEquipmentCategory(models.Model):
_inherit = 'maintenance.equipment.category'
_description = '设备类别'
equipment_type = fields.Selection([('机床', '机床')], string='类型', default='机床')
equipment_type = fields.Selection([('机床', '机床'), ('机械臂', '机械臂'), ('AGV小车', 'AGV小车'), ('检测设备', '检测设备')], string='类型', default='机床')
class SfMaintenanceEquipment(models.Model):