修改设备模块

This commit is contained in:
qihao.gong@jikimo.com
2023-07-28 15:33:31 +08:00
parent 2b69524c57
commit 06de46c084
6 changed files with 2 additions and 29 deletions

View File

@@ -53,15 +53,11 @@ class SfEquipmentSaintenanceStandards(models.Model):
class SfSaintenanceStandards(models.Model):
_name = 'maintenance.standards'
_description = '维保项目'
_order = 'sequence, id'
name = fields.Char('维保项目')
maintenance_standards = fields.Char('维保标准')
equipment_maintenance_standards_id = fields.Many2one('equipment.maintenance.standards', string='设备维保标准')
maintenance_request_id = fields.Many2one('maintenance.request', string='设备维保计划')
cycle = fields.Integer('频次/周期')
device_unit = fields.Char('设备单元')
sequence = fields.Integer('序列号')