Merge pull request !4551 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-08-14 08:52:08 +00:00
committed by Gitee
@@ -191,6 +191,8 @@ class HrAttendance(models.Model):
description="本月迟到: {}\n本月缺卡: {}\n本月早退: {}\n本月异常:{}\n 本月旷工: {}\n"
.format(is_late_card, is_no_card, is_early_card, is_abnormal, absenteeism_card),
url=url, btntxt="详细信息")
logging.info(f"打卡异常提醒发送成功,员工:{employee.name},本月迟到: {is_late_card},本月缺卡: {is_no_card},本月早退: {is_early_card},本月异常:{is_abnormal},本月旷工: {absenteeism_card}")
@api.depends('employee_id', 'check_in', 'check_out')
def _compute_display_name(self):