Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
cze 17
3354
2
lip 25
3676
1
lip 25
2869
0
gru 24
1573
0
lis 24
1107