You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are not able to allocate leave policy assignment because yearly allocation is 3 and for an employee joining at the end of the leave period, the pro-rata basis of leave calculation is zero & the system throws exception during the leave policy assignment.
I think some leaves are fixed on the yearly basis irrespective of the joining date. The pro-rata assumptions for all the leave types is not correct.
Module
HR
Version
erpnext 15.34.0
frappe 15.39.1
hrms 15.27.2
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
You can try allocating it based on Joining Date if you don't want pro-rated allocation? And manually adjust the effective to date to end of the leave period.
I understand these options don't explicitly convey what goes on under the hood - need to be changed. No clue what was the original thought of the contributor behind doing so
We were thinking of an option in leave type called "Is Pro-Rata Allocation". If not checked allocate the total leaves as in leave policy else do the pro-rata calculation for assignment.
Let us know if this works so that we can create a PR.
We are facing another challenge when leave policy is assigned based on joining date. We have annual sick leave of 30 days and 60 days of partial paid sick leaves. We are getting this error
We will need to handle such cases as well where the no. of days in the current leave period are less than the pro-rata calculation.
We are facing another challenge when leave policy is assigned based on joining date. We have annual sick leave of 30 days and 60 days of partial paid sick leaves. We are getting this error
You can bypass this by enabling "Allow Over Allocation" in leave type
Information about bug
We are not able to allocate leave policy assignment because yearly allocation is 3 and for an employee joining at the end of the leave period, the pro-rata basis of leave calculation is zero & the system throws exception during the leave policy assignment.
I think some leaves are fixed on the yearly basis irrespective of the joining date. The pro-rata assumptions for all the leave types is not correct.
Module
HR
Version
erpnext 15.34.0
frappe 15.39.1
hrms 15.27.2
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: