Commit Graph

6 Commits

Author SHA1 Message Date
Valentin Lab
b0823653a8 [IMP]hr_employee_stats_sheet:compute the days of all the sheets together
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m33s
tests / test (pull_request) Successful in 2m12s
Reading the totals of several timesheet sheets computed their days sheet
by sheet. The days of all the sheets are now computed in one batch first,
so a list or a grouped view of sheets needs as many SQL queries for 2
sheets as for 200.

Assisted-by: Claude:claude-opus-5-5
Assisted-by: GPT:gpt-6.2-astra-ultrafast
2026-11-19 14:09:27 +01:00
991fd43167 [FIX]hr_employee_stats_sheet:use employee calendar hours per day to convert recovery hours into allocation days
Odoo displays allocation hours with the hours per day of the employee's
resource calendar. Converting recovery hours with another calendar (planning
calendar or company calendar) made the generated allocation display a wrong
number of hours (e.g. 18.21h instead of 19h).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 11:35:27 +01:00
e61e2792a9 [IMP]hr_employee_stats_sheet:make allocation automaticly starting the starting date of the associated timesheet sheet 2025-12-17 16:11:31 +01:00
a2ebda5898 [REF]hr_employee_stats_sheet:delete max allowed recovery hours limitation 2025-12-16 14:55:43 +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
fd5e0f2f44 [ADD]hr_employee_stats_sheet 2025-10-09 14:57:05 +02:00