Odoo Help

2

Allow Employees to only aceess their own employee directory

By
Kingarjun
on 11/25/13, 2:06 AM 760 views

I need an record rule for Allow Employees to only aceess their own employee directory. So I have used this rule

 ['|',('user_id','=',user.id),('user_id','=',False)]

It working fine when employee login he can see only his own employee directory . But the issue is when he tried to create any request for example Leave request an error occuring

(self._description, operation)) except_orm: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Documen t type: Employee, Operation: read)') 2013-11-25 05:55:11,394 6052 ←[1;31m←[1;49mERROR←[0m temp openerp.netsvc: Access Denied The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

When remove the record rule everything works fine , what is the issue ?

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/25/13, 2:06 AM
Seen: 760 times
Last updated: 3/16/15, 8:10 AM