-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Earned Leave is not getting calculated for the future months #1102
Comments
what is the annual allocation set in your leave policy for this leave type? |
That is not from where earned leaves find the number. Annual allocation is fetched from the Leave Policy When this leave policy is assigned, based on this number the earned leaves are allocated every month Maximum Leave Allocation Allowed field is used to validate allocation limit and throw an error, not in earned leave auto allocation |
Please raise an issue on support.frappe.io with site details. Will need access to data & background jobs to investigate |
The site is not Hoisted in a Frappe Cloud.It is a self hoisting site |
Looks like framework did not sync HR jobs for some reason. Run bench migrate for this site from your bench. Jobs should get created after that and it will run every month from now. We have some UX enhancements for earned leaves in roadmap: this will also allow you to manually allocate earned leaves in such cases |
Even after running this Bench Migrate for this site from your bench, Jobs are not getting created and no background earned leave is getting generated every month from now. So what would be the solution for this? Also, can we run the Schedule Type Job of this earned leave by ourselves? Any provision to create this Schedule Job by ourselves |
Information about bug
Frappe HR Team
This is to update you on the month of Oct 2023, We have done the Leave Policy Assignment of our Paid leaves where we have "Earned Leave" configuration and have done the settings accordingly, but the same has been added to the Earned Leaves up to 31st October, but the same is not getting added in the Month of November.
We have done the Leave policy Assignment based on the Leave Period and the system also generated the Leave Allocation
But if you check the system has allocated 10.5 Leave- up to Oct- Up to 7 Months (18/12=1.5 * 7 Months= 10.5 but it is not added for the November Months
Also Is there any option where we can check any background jobs as whether this system generated entry is got created or we can execute manually or any failure notifications.
Module
HR, Payroll
Version
Installation method
docker
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: