添加功能
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user