From 5ed6865c9db125dfb9e1985017bebc9ef1aa23ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Wed, 25 Dec 2024 17:21:38 +0800 Subject: [PATCH] =?UTF-8?q?ljm=20=E4=BF=AE=E6=94=B9=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_property/models/yuthon_property.py | 2 +- yuthon_property/views/yuthon_property_views.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@ - +