Odoo Help


Double validation/manager validation Leave request

on 11/7/16, 5:00 AM 889 views


I started working with Odoo v.8, and I have a little trouble with the double validation leave and in particular with the validation of the superior/manager. With the double validation, the supervisor/manager and the HR manager must both validate the leave request. In orther for the supervisor to validate, I give him the access right "Officer" in human resources. there he can see leave requests of his subordinates, but the problem is that he can also see requests of all employees in all departments.

I would like to know, how to do so the manager could only see leave requests of employees of which he is responsible. 

Thank you.

Mohammed Siddiqui
On 5/28/18, 6:14 AM

This requires a rule, access rights, and the employee heirarchy filled out under Human Resources.

  1. Make a user a manager
  2. Then when you record a rule set parent.id = manager.user.id
  3. Also add user.id = manager.user.id

The parent.id is referencing the employee's manager under the Human Resources section. The user.id = manager.user.id is checking if the current user's id matches the manager's id.

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

1 follower(s)


Asked: 11/7/16, 5:00 AM
Seen: 889 times
Last updated: 5/28/18, 6:14 AM