Odoo Help


How to create rule to display only subordinates leave records in openerp

on 7/26/13, 4:40 AM 3,163 views


How to create rule to display only subordinates leave records in openerp

Example, Ram is Manager of A,B,C, Employees John is Manager of X,Y,Z, Employees

Ram and John Has related users with Access Rights Officer/Manager

If Ram Is logged in He can Approve Leave Request, Approve Timesheet of X,Y,Z employees also,

Default Functinality:

   Default Rule for Human Resource Officer is for Leaveor hr_holidays is [(1=1)]

I tried with following Rule


But This will not work Help me to resolve this issue

Thank You In ADVNC :)

I am facing the same issue. Any updates ?

on 2/13/14, 6:48 AM

i did test this and works fine, so make sure again that you are applying record rule on leave object.

Turkesh Patel (tpa)
on 2/13/14, 7:35 AM

@Turky, It worked. Thank you.

on 2/14/14, 7:49 AM

But the HR/Officer users can apply and approve their on leave request. Is there anyway we can restrict that ?

on 2/14/14, 7:50 AM
On 5/29/14, 2:22 AM

Use the module community hr.holidays.extension

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.


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

5 follower(s)


Asked: 7/26/13, 4:40 AM
Seen: 3163 times
Last updated: 3/16/15, 8:10 AM