Odoo Help

0

HR security

By
Gaavilan
on 11/8/16, 5:41 AM 216 views

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?

Nilmar Shereef
on 11/8/16, 11:02 PM

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

Gaavilan
on 11/8/16, 11:10 PM
3

Nilmar Shereef

--Nilmar Shereef--
1458
| 4 4 7
Calicut, India
--Nilmar Shereef--

Python Developer. Android Developer. .Net Developer

Nilmar Shereef
On 11/8/16, 11:13 PM

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.

Gaavilan
on 11/8/16, 11:33 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 11/8/16, 5:41 AM
Seen: 216 times
Last updated: 11/8/16, 11:27 PM