Merge pull request !4143 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-07-29 07:39:27 +00:00
committed by Gitee
@@ -32,7 +32,7 @@ class InheritMaintenanceEquipment(models.Model):
h5_url = fields.Char(string="二维码扫码地址", compute='_compute_h5_url')
h5_url_qrcode = fields.Image(string="二维码", compute='_compute_h5_url')
company = fields.Selection([('jtbb', '天河投资'), ('ttcj', '天投城建')], string="公司")
department_id1 = fields.Many2one('hr.department', string="部门")
department_id1 = fields.Many2one('hr.department', string="部门", related='employee_id.department_id')
is_jtbb = fields.Boolean(compute='_compute_company_id')
mainten_state = fields.Selection([('ing', '使用中'), ('finish', '暂停')], string="设备状态")
equipment_number = fields.Char(string="数量")