frappe / hrms

Open Source HR and Payroll Software
https://frappe.io/hr
GNU General Public License v3.0
1.35k stars 693 forks source link

Pro rata leave allocation issue #923

Open ram-chandu opened 1 year ago

ram-chandu commented 1 year ago

Hi Team,

Facing the following issue in live instance:

In Pro rata leave, we see that we can allocate leave based on the pro rata basis. Here are some leaves which are given bulk at the start of the year and there are some leaves which are earned in a month. In Rangsutra, the concept of earned leaves is not there, for the calendar year we get 12 casual leaves and 6 sick leaves in January. Here if a new employee joins, in the probation period they will get some other sort of leaves and when the probation completes and they put the calendar date they get half the leaves. Here we have made the leave policy saying annual allocation is 12 and 6. When we assign the leave policy to the employee who has become permanent after the probation period, For the employee the leaves should be reduced to half i.e (casual leaves should be 6 and sick leaves should be 3). We don't find this kind of calculation. Please check.

Use case - At the start of the year, we allocate 12 casual leaves to a permanent employee in bulk. So for a probationary, who gets confirmed as an employee after 6 months, we allocate new leaves. As per usual employee leave policy, now this person should get only 6 casual leaves, not 12.

This is different from earned leave concept where such an employee would work for one month and 1 leave will get allocated to them.

Thanks, Ram.

Anoop2312 commented 4 months ago

Hii Team, Is there any update on this ticket?