Commit Graph

10 Commits

Author SHA1 Message Date
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
872826e2eb [FIX]hr_employee_stats_sheet:remove invalid or inactive recoveries from total_recovery_hours in timesheet_sheet statistics 2026-10-16 15:19:27 +02:00
2f73c1b3a7 [FIX]hr_employee_stats_sheet:fix bug in _get_total_recovery_hours and _get_total_leave_hours for half-days request unit leaves 2026-06-16 14:36:20 +02:00
b65b6431b6 [IMP]hr_employee_stats_sheet:conciderate only valided and active leaves 2026-03-24 09:57:16 +01:00
01cf81e8bb [FIX]hr_employee_stats_sheet:fix timesheet_line_ids definition 2025-12-22 16:31:33 +01:00
e1534c41d8 [IMP]hr_employee_stats_sheet: fix leave hours when several leaves exits for the same days 2025-12-22 14:27:07 +01:00
8ac80079a0 [IMP]hr_employee_stats_sheet:add dependecie to hr_employee_calendar_planning and identifies the planning using by a employee during a time period
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m30s
2025-12-11 16:49:40 +01:00
5b103056d6 [FIX]hr_employee_stats_sheet:fix identification of public holidays according to employee TZ 2025-12-10 14:47:42 +01:00
c16fccfa6e [FIX]hr_employee_stats_sheet:fix calculation of planned recovery when recovery takes several days 2025-12-08 16:15:05 +01:00
fd5e0f2f44 [ADD]hr_employee_stats_sheet 2025-10-09 14:57:05 +02:00