Valentin Lab 567a0a1d0d [IMP]hr_employee_stats_sheet:read the public holidays once per employee
Each day searched the public holidays of its own date. The days computed
together now run one search per employee over their date range, then
keep for each day the holidays the per-day search returned: those whose
UTC range covers the day. The check in the employee time zone is
unchanged, and two holidays on the same day still raise the same error.

With this change, the number of SQL queries needed to compute the days of
an employee no longer grows with the number of days.

Assisted-by: Claude:claude-opus-5-5
Assisted-by: GPT:gpt-6.1-sol
Assisted-by: GPT:gpt-6.2-astra-ultrafast
2026-11-19 14:09:26 +01:00
2022-06-22 14:13:39 +02:00
Description
No description provided
GPL-3.0 1.2 MiB
Languages
Python 99.2%
Shell 0.8%