Merge pull request !631 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2024-12-01 15:44:36 +00:00
committed by Gitee
2 changed files with 2 additions and 2 deletions
@@ -17,7 +17,7 @@ class AttendanceBannerRoute(Controller):
('employee_id.user_id', '=', request.env.user.id),
('check_in', '>=', month_start),
('check_in', '<=', month_end),
('weed', 'not in', ['星期五', '星期六'])
('weed', 'not in', ['星期日', '星期六'])
]
attendance = request.env['hr.attendance'].sudo().search(domain)
is_no_card = 0
+1 -1
View File
@@ -67,7 +67,7 @@ class HrAttendance(models.Model):
('employee_id.user_id', '=', rec.employee_id.user_id.id),
('check_in', '>=', month_start),
('check_in', '<=', month_end),
('weed', 'not in', ['星期五', '星期六'])
('weed', 'not in', ['星期日', '星期六'])
]
is_no_card = 0
is_early_card = 0