İçereği Atla
Menü
Bu soru işaretlendi
898 Görünümler

I gave the employee group with the access rights to view only their payslips which are in the paid status.They can view that payslips but when they click print button to download it, it is displaying that "The requested URL not found". But the admin is able to view and print all the payslips. Is there any solution to solve this problem?
These are the record rules and access rights I gave to the staff group:


Own Payslips


[('employee_id.user_id', '=', user.id),('state', '=' , 'paid')]






id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_payroll_staff,hr.payslip.staff,hr_payroll.model_hr_payslip,custom_access_rights.group_staff_user,1,1,0,0
access_contract_staff,hr.contract.staff,hr_contract.model_hr_contract,custom_access_rights.group_staff_user,1,0,0,0
access_payslip_input_staff,hr.payslip.input.staff,hr_payroll.model_hr_payslip_input,custom_access_rights.group_staff_user,1,0,0,0
access_payslip_line_staff,hr.payslip.line.staff,hr_payroll.model_hr_payslip_line,custom_access_rights.group_staff_user,1,1,0,0
access_payslip_worked_days_staff,hr.payslip.worked.days.staff,hr_payroll.model_hr_payslip_worked_days,custom_access_rights.group_staff_user,1,0,0,0


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Haz 17
3395
2
Tem 25
3748
1
Tem 25
2940
0
Ara 24
1641
0
Kas 24
1138