diff --git a/yuthon_hr_attendance/views/hr_attendance_views.xml b/yuthon_hr_attendance/views/hr_attendance_views.xml index 484b946b4..fb74aef0a 100644 --- a/yuthon_hr_attendance/views/hr_attendance_views.xml +++ b/yuthon_hr_attendance/views/hr_attendance_views.xml @@ -163,10 +163,9 @@ 全部考勤 - [('is_company', '=', True)] hr.attendance tree,form - [('employee_id.resource_calendar_id.name', '=', '行政考勤')] + [('employee_id.resource_calendar_id.name', '=', '行政考勤'), ('is_company', '=', True)] 我的考勤 @@ -196,6 +195,7 @@ 考勤记录 hr.attendance tree + [('is_company', '=', True)] {"search_default_employee": 1}