跳至内容
菜单
此问题已终结
3 回复
2530 查看

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

形象
丢弃

Hey Gavilaan,

Could you please provide your overrided code here?

编写者

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

最佳答案

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


形象
丢弃
编写者

NILMAR,

You perfect.

Thank you with open heart.

相关帖文 回复 查看 活动
0
6月 25
435
0
1月 25
1573
0
1月 25
1591
1
12月 24
2131
0
5月 24
1658