Skip to Content
Menú
This question has been flagged
3 Respostes
2517 Vistes

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

Avatar
Descartar

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

Best Answer

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


Avatar
Descartar
Autor

NILMAR,

You perfect.

Thank you with open heart.

Related Posts Respostes Vistes Activitat
0
de juny 25
426
0
de gen. 25
1562
0
de gen. 25
1582
1
de des. 24
2105
0
de maig 24
1657