Monthly 1 Leave Allocation

We are using frappehr in our organization. In casual leave type, Maximum Leave Allocation Allowed is set 12. My goal is to allocate 1 leave every month and unutilized leave will be added to next month. By default, leaves get elapsed after allocation period. how can I achieve that? Suggest custom script for frappe framework and where should I use this script?

Make it as earned leave in leave type and make frequency as monthly

also update carry forward value to zero if you want leaves tobe expired after given leave period

@Maveez is my configuration looking good, for casual leave, allocate 1 per month and carry-forward to next month and elapse at the end of leave allocation period?

Check maximum carry-forward and Rounding?

carry forward should not be there. if leaves are expiring.

also consecutive leaves make it to 1

@Maveez are you sure about carry-forward? i have set days to 0 so that leaves get elapsed by end of allocation period.

yeah basically its said that there are 12 leaves in a year. and it will get accumulated till end of year. and if employee doesnt use it within that year it will be lapsed.

additionally we are also setting that an employee can take only one consecutive leave.

if we carry forward then next year he will have 12leaves + next year leaves

1 Like