diff --git a/hr_attendance_reason/security/ir.model.access.csv b/hr_attendance_reason/security/ir.model.access.csv index 7823141f..90cec1bd 100644 --- a/hr_attendance_reason/security/ir.model.access.csv +++ b/hr_attendance_reason/security/ir.model.access.csv @@ -1,3 +1,4 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_hr_attendance_reason_user,hr.attendance.reason.user,model_hr_attendance_reason,hr.group_hr_user,1,1,1,1 -access_hr_attendance_reason_employee,hr.attendance.reason.employee,model_hr_attendance_reason,base.group_user,1,1,1,1 +access_hr_attendance_reason_user,hr.attendance.reason.user,model_hr_attendance_reason,hr.group_hr_user,1,0,0,0 +access_hr_attendance_reason_employee,hr.attendance.reason.employee,model_hr_attendance_reason,base.group_user,1,0,0,0 +access_hr_attendance_reason_manager,hr.attendance.reason.manager,model_hr_attendance_reason,hr_attendance.group_hr_attendance_manager,1,1,1,1 diff --git a/hr_attendance_reason/views/hr_attendance_view.xml b/hr_attendance_reason/views/hr_attendance_view.xml index 56b871ed..1adc48a0 100644 --- a/hr_attendance_reason/views/hr_attendance_view.xml +++ b/hr_attendance_reason/views/hr_attendance_view.xml @@ -9,7 +9,11 @@ - + @@ -22,7 +26,11 @@ 500 - +