From 0448aeb574e01b7b4d91381f0ebd54bed4f21bd1 Mon Sep 17 00:00:00 2001 From: zhouzhou <123@qq.com> Date: Thu, 19 Dec 2024 19:46:08 +0800 Subject: [PATCH] =?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_wechat/models/hr_attendance_detail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yuthon_wechat/models/hr_attendance_detail.py b/yuthon_wechat/models/hr_attendance_detail.py index e69649a96..7c0817293 100644 --- a/yuthon_wechat/models/hr_attendance_detail.py +++ b/yuthon_wechat/models/hr_attendance_detail.py @@ -604,8 +604,8 @@ class HrAttendanceDetail(models.Model): # else: # attendance_obj.sudo().write({"is_no_card": True, "is_abnormal": True}) # # 进行关联 - attendance_detail_obj.hr_attendance_id = attendance_obj.id - return True + attendance_detail_obj.hr_attendance_id = attendance_obj.id + return True def get_hr_attendance_time(self): """