Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
869 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvn 17
3353
2
čvc 25
3676
1
čvc 25
2867
0
pro 24
1572
0
lis 24
1107