Odoo Help

0

Applying Record Rules to filter information

By
Nsovo Will
on 12/1/16, 3:32 PM 132 views

Hi All, I am a Odoo newbie.

I have used the following rule: ['|',('employee_id.user_id','=',user.id),('employee_id.parent_id.user_id','=',user.id)] to only allow employees to view their leave applications and have only managers see the subordinates leave applications. However, while applying this rule  to everyone (Globally), I would like to still have HR Managers (those given Manager roles i believe its base.group_hr_manager in the module) to be able to see every ones leave request ?


Thank you in advance

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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: 12/1/16, 3:32 PM
Seen: 132 times
Last updated: 12/1/16, 3:34 PM