Earned Leave Allocation Auto allocation Issue ERPNext13

We are using ERPNext 13 and there is some issue that some of the employees who have been assigned leave policy for the Annual Leave Leave Allocation works and for some employees it doesn’t work.

We have seen all the documentation and checked all existing quetions on forum but we didn’t get solution.

Someone mentioned that you can use the bench executive and use the funtion that allocates the earned leave we did run below;

bench execute erpnext.hr.utils.allocate_earned_leaves

But everytime we run this script it allocates more leaves to some employees, there is no error log, no error message.

Can someone help that where will be the problem.

Can anyone tell us if they faced the same issue

1 Like

Hi Sophia,

This issue needs to be diagnosed.