Valentin Lab 12de36565a [IMP]hr_employee_stats_sheet:read the timesheet lines of all the days in one search
Computing the hours of N days ran one search on the analytic lines per
day. The days computed together now share a single search, whose lines
are grouped back by employee and day.

Each day keeps its lines in the search order (``date desc, id desc``),
the order the per-day search returned them in, so the sums are the same
to the last digit.

``get_total_hours_domain`` now returns the domain of all the days of the
recordset, and ``_get_total_hours`` reads its value from the shared
search.

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:06 +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%