You have an earned leave type called “Earned Leave”, and your requirement is to credit 1 leave every three months, making a total of 4 leaves per year. The company’s leave period runs from January 1 to December 31, and the employee’s date of joining is April 1.
In ERPNext, the leave type is configured as “Is Earned Leave” with the Earned Leave Frequency set to “Quarterly”. You have also created a Leave Policy Assignment for this leave type and allocated it to the employee.
However, instead of crediting 1 leave every three months, ERPNext is crediting all 4 leaves at once, without considering the employee’s joining date.
In this case, since the employee joined on April 1, only 3 leaves (for April–December) should have been credited. But ERPNext has credited 4 leaves, which indicates that the system is not dynamically adjusting the leave count based on the employee’s joining date.
This behavior occurs because ERPNext’s earned leave allocation logic does not prorate or stagger leave credits based on the joining date — it allocates the full annual quota upon assignment.