The scenario is like this, in HR module, I set every employee's, now
at the purchases module, I'm developing an access rule that filters
records based on the manager's subordinates, the manager should see only
requests issued by employees that are having this user as their
manager.
Please notice that I'm trying to do it through the web administration panel, not through the code.
Here are the models I'm trying to work on:
hr.employee (this contains the manager's id .. another employee)
res.users (this contains the logged in user)
purchase.order (the record I'm filtering on)
Thanks a lot :)
There's a field named "employee_ids" inside the res.users model, is that what you mean?