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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
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.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Dec 24
|
56 | ||
|
0
May 24
|
249 | ||
|
1
Dec 23
|
1096 | ||
|
0
Dec 23
|
311 | ||
|
0
Jun 23
|
548 |
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