In my solution I need a way to restrict the purchase managers to view the purchase orders which are created by own self or only by the subordinates (Purchase Users under the manager defined in HR Section).
I am trying with creating a Record Rule under Security. But now I am not sure what will be the code in domain for checking that- will show the POs which are created by a subordinate purchase user of currently logged-in manager.
Any kind of help will be appreciated.
Thanks Behestee