Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have insufficient karma to edit another post with the exact same question so I will create a new one.
In Human Resources, a manager should only see their direct employees i.e.
Manager 1 -> Employee 1 and Employee 2 Manager 2 -> Employee 3 and Employee 4 etc
Is this at all possible? A use case could be an employee requests leave and their direct supervisor is emailed and can approve this request. No other employee can see the request or approve.
This requires a rule, access rights, and the employee heirarchy filled out under Human Resources.
- Make a user a manager
- Then when you record a rule set parent.id = manager.user.id
- 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.
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
|Asked: 12/18/13, 10:18 PM|
|Seen: 1204 times|
|Last updated: 3/16/15, 8:10 AM|