Try ERPNext Buy Support Partners Foundation

Leave approver Should not approve his own leave

Hi,

I have the following hierarchy set in the employee master.
image

In this Ceo - Abhijeet, Managers - Raj & Neha and others are the employees under them.
In our case, all employee’s leave should be approved by the manager and all the manager’s leaves should be approved by the CEO.So we’ve set the leave approvers accordingly.
Also to approve leave we’ve given the leave approver role to the managers and CEO.

When an employee applies for the leave manager is able to approve the employee’s leave.

But when the manager applies for the leave he is able to approve his own leave as he is also having leave approver role( To approve employees leave)
How can I achieve above scenario where manager should not be able to approve his own leave?