Name:
[FIX][17.0] hr_holidays: Prevent accrual beyond defined end date
State:
Killed
PR State:
closed
PR Author:
Tuyên Trần
PR Author Email:
PR:
#1102
Committer:
TuyenTran
Committer Email:
trandinhtuyen2018@gmail.com
Commit:
da493b96e0c450c29d86f54bda9ed5eb322165fb
Description:
[FIX] hr_holidays: Prevent accrual beyond defined end date
**Current Behavior**
When an allocation is configured with an automatic accrual and an end
date, selecting a future date beyond the accrual end date still results
in additional leaves being calculated.
**Solution**
Introduced a check to cap the selected date at the accrual_date_end when
simulating future leave accruals. This ensures that no extra leaves are
added beyond the intended accrual period.
Branch:
17.0
Instance ID:
0
Age:
Up-time:
Not finished