Name:
Merge from upstream 18 20260812 01
State:
Killed
finished in 159m
PR State:
merged
PR Author:
Roy Le
PR Author Email:
PR:
#1255
Committer:
Roy Le
Committer Email:
roy.le@viindoo.com
Commit:
2f9fcabdb3ee4a3c8dfd2814ab91b97065653dd4
Description:
[FIX] hr_holidays: freeze the date of the accrual-levels leave test
test_hr_leave_after_adding_accrual_plan_levels (introduced upstream by
55f89ed97965) books a leave covering today + 2 to today + 3 without
freezing time. On a Monday-to-Friday calendar any run on a Thursday
makes that window fall entirely on the weekend, so the leave counts
zero days and action_validate() raises "The following employees are not
supposed to work during that period". A bare community checkout of the
same commit fails identically, and upstream has not fixed it yet.
Freeze the test on a Monday so the leave always lands on working days,
the same way 34f6bbfbaf1c already did for another test of this file.
Branch:
18.0
Age:
Up-time: