diff --git a/yuthon_hr_attendance/controllers/applet_attendance.py b/yuthon_hr_attendance/controllers/applet_attendance.py index ffb4f1e1d..7dfcae6dd 100644 --- a/yuthon_hr_attendance/controllers/applet_attendance.py +++ b/yuthon_hr_attendance/controllers/applet_attendance.py @@ -118,8 +118,8 @@ class AppletAttendance(Controller): '缺卡'] else f'
{check_in_str}
' check_out_html = f'{check_out_str}
' if check_out_status in ['迟到', '早退', '缺卡'] else f'{check_out_str}
' - state = "yes" - message = "超出范围,不允许打卡" + state = "no" + message = "超出范围或wifi未连接,不允许打卡" address_ids = request.env(user=SUPERUSER_ID)["applet.address"].search( [('address_name', '=', employee_id.company_id.name)]) self_address = self.get_address_from_coords(kw['att_latitude'], kw['att_longitude'])