diff --git a/yuthon_property/models/yuthon_property.py b/yuthon_property/models/yuthon_property.py index 935e77641..0caf74f40 100644 --- a/yuthon_property/models/yuthon_property.py +++ b/yuthon_property/models/yuthon_property.py @@ -47,7 +47,7 @@ class YuthonProperty(models.Model): live_room = fields.Many2one('yuthon.live.room', string="居住用房") is_electricity_meter = fields.Boolean(string="电表") electricity_id = fields.Many2one('yuthon.electricity.setting', string="电费标准配置") - admin_id = fields.Many2one('hr.employee', string="管理员") + admin_id = fields.Many2one('res.users', string="管理员") yuthon_company = fields.Selection([('thtz', '天河投资'), ('thwg', '天河物管'), ('thlc', '天河粮储'), ('ttcj', '天投城建'), ('fz', '房总')], string="所属公司") tenure_type = fields.Selection([('dai', '代管'), ('zi', '自营')], string="权属类型") diff --git a/yuthon_property/views/yuthon_property_views.xml b/yuthon_property/views/yuthon_property_views.xml index 8bb185768..698346741 100644 --- a/yuthon_property/views/yuthon_property_views.xml +++ b/yuthon_property/views/yuthon_property_views.xml @@ -216,8 +216,8 @@ - +