From 690306fc4d6761be1e86c12102a88758ecdfa530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Thu, 20 Aug 2026 09:58:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BD=E5=90=8D=E5=8D=95=E6=94=BE=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/models/hr_attendance_detail_wechat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py b/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py index 37b1a4866..e63daac1a 100644 --- a/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py +++ b/yuthon_hr_attendance/models/hr_attendance_detail_wechat.py @@ -101,7 +101,7 @@ class HrAttendanceDetail(models.Model): # 批量导入时跳过企业微信通知 if self.env.context.get('skip_iot_notify'): return record - if record.employee_id.name not in ['Administrator', '张丽芳', '李瑾晨']: + if record.employee_id.name not in ['Administrator', '张丽芳']: resource_user_ids = record.employee_id.resource_calendar_id.resource_user_ids.ids is_resource_user = True if record.employee_id.id in resource_user_ids else False employee_id = record.employee_id