From e7ba4f524785fc033e43f16e7bd9705a8135513b Mon Sep 17 00:00:00 2001 From: zhouzhou <123@qq.com> Date: Tue, 29 Oct 2024 10:47:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_property/models/yuthon_property.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_property/models/yuthon_property.py b/yuthon_property/models/yuthon_property.py index c38d461b1..32fb8160c 100644 --- a/yuthon_property/models/yuthon_property.py +++ b/yuthon_property/models/yuthon_property.py @@ -99,7 +99,7 @@ class YuthonPropertyWater(models.Model): location = fields.Char(string="位置") yuthon_property_id = fields.Many2one('yuthon.property', string="物业管理") - @api.onchange('water_meter_ids') + @api.onchange('property_meter_water_id') def _onchange_water_meter_ids(self): for rec in self: rec.property_meter_water_id.write({'yuthon_property_id': rec.property_meter_water_id.id}) From 040f3ed24b9f3fee1520e632f1ea69acdbc2a26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Tue, 29 Oct 2024 14:23:26 +0800 Subject: [PATCH 2/2] pengyuthon --- yuthon_wechat/views/hr_attendance_views.xml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/yuthon_wechat/views/hr_attendance_views.xml b/yuthon_wechat/views/hr_attendance_views.xml index 194e9f6b8..1960d42d2 100644 --- a/yuthon_wechat/views/hr_attendance_views.xml +++ b/yuthon_wechat/views/hr_attendance_views.xml @@ -20,15 +20,6 @@ -