@michelle Any inputs why Grant button is not shown/visible? If I allocate leaves manually, it shows the entire allocated leaves instead of showing only earned leaves (pro-rated). I believe, this will work only with Grant and not manual allocation. Any help will be greatly appreciated.
When you allocate earned leaves, it will show you 0. The leaves get allocated at the end of the month. You should have 1.5 leaves allocated at the end of Jan. Could you try creating a new leave application for maybe feb and check balance for “Casual Leaves”?
@michelle Thanks a lot for the suggestion. I tried Leave Policy Assignment method but it did not allocate the earned / pro rated leaves. It is 1.5 leaves per month (18 per year). It only carried forward the previous year’s manual allocated leaves but did not calculate for monthly earned leaves.
Leave Type - Earned Leave (we call it Earned Leave, it’s Privilege leave in ERPNExt) - 18 per year = 1.5 leaves per month
Manual leave allocation for year 2020 has 15 leaves to be carried forward.
Leave allocated via Grant Button from Leave Policy Allocation only showed previous year leaves but for this year, it is still 0, it should be 1.5 (Jan month has ended) so it should be 16.5 leaves in the Leave balance. However it is only showing 15 leaves.
Attaching the screenshots. Please advise.
@michelle I tried removing all leave entities including leave types, then added again one by one, with leave period, leave policy, etc and tried leave policy assignment but still it came as empty.
This is the same behavior in ERPNext: v12.16.2 (version-12) which I am running locally. For this version, Grant leaves is in Leave Period rather than Leave Policy Allocation. Leave period is 01-01-2021 to 31-12-2021. In v12, Leave policy as to be attached to Employee and then grant leaves to be clicked.
For me, I understand that Earned Leave will start counting after Allocation. But what about the previous counting, (30days for 1 year = 2.5) like:
my Leave period starts on Jan 21 and ends on December 21. so now as it is mid of February, when I want to Allocate, don’t you think it should count the first month January Automatically? instead of 0 now, I may see 2.5 already added as I’ve passed January already.