Open sjain17 opened 1 year ago
This is not a bug but its done by design. It's based on employment and not based on attendance currently
@ruchamahabal I understand its by design, but the system should credit earned leave when an employee has not earned it.
Information about bug
Leave policy assignment should work based on attendance of the month for the employee. For example- if an employee has joined on January 22 and has taken one month of leave without pay due to some personal reasons. The leave policy assignment has 12 Earned leaves annually, the system is still crediting 12 leaves for the employee instead it should have given only 11 leave or maybe less based on prorata basis.
Module
HR
Version
ERPNext: v14.37.1 Frappe Framework: v14.47.1 Frappe HR: v14.10.3
Installation method
FrappeCloud
Relevant log output / Stack trace / Full Error Message.
Code of Conduct