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

Hi, I tried for overriding access of user groups for my custom addon.

But It raising error like no reference for hr.payslip is there. Please help me.

Thanks In advance

Awatar
Odrzuć

Hey Gavilaan,

Could you please provide your overrided code here?

Autor

Thanks Nilmar for your helping mentality.

Here my writing is :

addons_wrk_hr_payslip,hr.payslip,hr.model_hr_payslip,base.group_user,1,1,0,0

Najlepsza odpowiedź

Hi,
I think "hr.payslip" model is not inside of hr, Please try by changing hr to "hr_payroll" in model reference overriding.
Replace your security overriding as below.

addons_wrk_hr_payslip,hr.payslip,hr_payroll.model_hr_payslip,base.group_user,1,1,0,0


Awatar
Odrzuć
Autor

NILMAR,

You perfect.

Thank you with open heart.

Powiązane posty Odpowiedzi Widoki Czynność
0
cze 25
428
0
sty 25
1569
0
sty 25
1587
1
gru 24
2121
0
maj 24
1658