添加功能

This commit is contained in:
李鹏宇
2026-03-20 19:39:15 +08:00
parent e0a0364c7f
commit 3f52efe5bc
@@ -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: