I saw the same topic. But I still found the same issue that the leave balance did not update even after approval.
This seems to be working fine in the test account. Can you please check the Total leaves allocated for the employee.
Total Allocation is 10
but it is still 10 after approved 2.5.
You are referring leave balance before application. This is calculated while creation of leave application. Once form gets submitted itās not changing as name indicates it is Leave Balance Before Application
So create a new application to know latest leave balance.
HI sangram,
I created a new application and approved but Privilege leave taken is 0 and privilege leave balance is still 10.
Nothing was changed. Is there anything I missed?
I found there is a status connection problem.
I filtered with the status āApprovedā but the list does not show up.
Is there any way to solve the problem?
Thanks!
I found that the status looks like approved but actual status is not updated at workflow. Is there any way to update the status which has already confirmed?
Iām also having this issue. Has any one been able to find a solution? Seems the status is not changing to approved by workflow
@tundebabzy Hello bro sorry for tagging you directly but could you help take a look at this issue? seems to have been on for quite some time and no one has picked it up.
Ok. Please open an issue on github and tag me. Iāll investigate
@tundebabzy i opened one already bro but i didnāt tag you. I will edit it now. I am checking through leave_application.py right now and my hunch tells me this is the error:
Like iāve mentioned before iām a novice so i canāt be sure but could i be right?
@tundebabzy Hi, sorry for the bother. Just wanted to find out if youāve been able to take a look at the issue. Thanks.
I havenāt received any alert. Maybe you can just put the link to the issue on this thread
@tundebabzy Oh maybe i didnāt tag you properly. Hereās the link to the Github request:
https://github.com/frappe/erpnext/issues/11222
Thanks.
@olamide_shodunke Hi, here are screenshots of the issue. First is Employee leave application for 10 Days approved. Employee had 10 Days prior to this application:
Then employee attempts to apply again and still has 10 days left:
And hereās the leave balance report for sample employee and all empoyees:
Iāve checked everything i can think of and i canāt find any issue with the configuration.
I cannot seem to replicate this in any of my companies.
Can you show me the settings for the leave type āPrivilegeā?
Regards
Same here
@olamide_shodunke @tundebabzy Thanks for looking into this issue. Hereās the settings for the leave type as requested.
Thanks.
Please see my reply on github. Are you sure that the leave allocation has not changed?
@tundebabzy The leave allocation has not changed. Leaves allocated to employee before application was 10 days. Employee applied for 10 days leave and was subsequently approved. However, when employee goes back to leave application, it still shows that employee has 10 days leave. I have all these as screenshots in my earlier post. See below screenshot for actual employeeās allocation: