Merge pull request !10020 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2026-03-20 11:40:26 +00:00
committed by Gitee
@@ -737,7 +737,7 @@ class AppletAttendance(Controller):
has_leave_batch_workflow = False
if hasattr(att, 'workflow_id') and att.workflow_id:
if att.workflow_id.res_model == 'hr.leave.batch':
if att.workflow_id.res_model in ['hr.leave.batch', 'go.approval']:
has_leave_batch_workflow = True
if not check_in_status and not check_out_status: