Commit Graph

69 Commits

Author SHA1 Message Date
ef3c9143dd [REF]l10n_fr_hr_holidays:clean up leave days computation
- remove unused _round_to_nearest_half
- evaluate _l10n_fr_leave_applies once in _get_number_of_days_batch and
  count working dates without a day-by-day loop
- compute the calendar working hours once per date lookup loop
- move pytz import to the top of resource_calendar.py

No functional change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 10:46:57 +00:00
646ab82880 [FIX]l10n_fr_hr_holidays:skip public holidays when looking for the return day of part-time employees
When the next scheduled working day of a part-time employee after the
leave is a public holiday, the leave end date was not postponed to the
day before the actual return, so company working days in between were
not counted (e.g. Wed PM-Fri employee, leave 23/12 -> 31/12 with 01/01
being a Friday: 6 days counted instead of 9).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 10:46:57 +00: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
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
76c8eab917 [FIX]l10n_fr_hr_holidays:fix bug in part-time employee duleaves duration calculation 2026-10-08 12:28:46 +02:00
376367cc26 [FIX]hr_timesheet_sheet_usability_misc: fix readme and manifest typos 2026-10-07 09:58:06 +02:00
85ccf4ff61 [CI] sync config from odoo-elabore-ci 2026-09-23 18:29:35 +00:00
552c94db20 [CI] sync config from odoo-elabore-ci 2026-09-23 17:52:03 +00:00
eeeb700129 [CI] sync config from odoo-elabore-ci 2026-09-23 13:13:29 +00: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
7803d476d9 [REM]allow_negative_leave_and_allocation:remove addons has been replace by hr_negative_leave
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m34s
2026-03-18 18:41:54 +01:00
821b17fbd5 [FIX]hr_negative_leave:fix leave types available when creating a leave request
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m33s
2026-02-10 15:11:20 +01:00
9e4342fba2 [FIX]16.0-fix-french-holidays:fix the resource calendar linked to the leave
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m32s
2025-12-30 14:49:17 +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
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
9f061ff409 [CLN]hr_employee_stats_sheet:remove hr_timesheet_sheet_akretion depedencie 2025-12-17 16:06:13 +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
5b103056d6 [FIX]hr_employee_stats_sheet:fix identification of public holidays according to employee TZ 2025-12-10 14:47:42 +01:00
d2301b765e [IMP]hr_employee_stats_sheet: add dependencies to hr_timesheet_sheet_usability_misc and hr_timesheet_sheet_usability_akretion for better usability 2025-12-10 14:44:43 +01:00
67b18277c1 [REF]hr_timesheet_sheet_usability_misc: rename hr_timesheet_sheet_usability in hr_timesheet_sheet_usability_misc because hr_timesheet_sheet_usability already exists in acsone repos 2025-12-10 14:41:39 +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
726e34febc [IMP]hr_negative_leave:add tests
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m29s
2025-11-24 10:57:57 +01:00
ee1e1cbe65 [FIX]hr_timesheet_sheet_usability: fix issue link in readme
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m31s
2025-10-31 09:58:37 +01:00
004187d9a8 [FIX]hr_employee_stats_sheet:replace allow_negative_leave dependencies to hr_negative_leave module 2025-10-31 09:58:37 +01:00
2e392a5afd [ADD]hr_negative_leave 2025-10-31 09:58:37 +01:00
4d76c78863 [REM]allow_negative_leave_and_allocation_hr_holidays_attendance 2025-10-31 09:58:37 +01:00
f7c7496492 [ADD]hr_employee_stats_sheet_lunch_voucher 2025-10-09 14:57:05 +02:00
fd5e0f2f44 [ADD]hr_employee_stats_sheet 2025-10-09 14:57:05 +02:00
0dc8075a81 [IMP]hr_timesheet_import_from_calendar: display unit amount with time format widget instead of float 2025-10-01 08:04:58 +02:00
6c008cce4d [FIX]allow_negative_leave_and_allocation:fix recorsed send to _check_holidays 2025-09-30 18:10:41 +02:00
dc5fd2897a [MIG]l10n_fr_hr_holidays:backport from v17 to 16 2025-09-24 07:06:22 +00:00
f206606a96 Sync config from odoo-elabore-ci:16.0
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 7m49s
2025-09-17 13:40:10 +00:00
e8a819d594 [FIX]allow_negative_leave_and_allocation:fix duration check 2025-09-15 11:27:50 +02:00
0437a9c9be [ADD]hr_timesheet_sheet_usability 2025-09-15 11:13:30 +02:00
d52b8c424e [ADD]allow_negative_leave_and_allocation_hr_holidays_attendance 2025-04-16 15:06:21 +02:00
4a00e642e0 [ADD]allow_negative_leave_and_allocation 2025-04-16 15:05:12 +02:00
Stéphan Sainléger
beb64d034d [FIX] hr_usability: add missing add-ons dependency to hr_holidays 2025-02-21 16:18:07 +01:00
ec7c402a26 [ADD]timesheet_timesheet_analysis_report 2025-02-03 17:50:37 +01:00
clementthomas
fd45cf17a2 [NEW] hr_timesheet_import_from_calendar 2024-12-16 14:05:05 +01:00
091fefc763 [ADD]project_timesheet_holidays_type 2024-06-27 09:19:00 +02:00
583b6e30b2 [ADD]project_timesheet_holidays_type 2024-06-27 09:19:00 +02:00
34abfad364 [ADD]hr_usability_elabore 2024-02-15 16:10:22 +01:00
edc8cffc69 Initial Commit 2023-12-21 12:02:04 +01:00
clementthomas
141ad6bfcd [IMP] hr_expense_specific_journal: set default journal 2023-10-17 12:29:02 +02:00
clementthomas
d59b2df993 [NEW] hr_expense_specific_journal 2023-10-11 09:30:35 +02:00
clementthomas
cf29d356fe [IMP] hr_expense_report_merge_attachment: rename module 2023-07-10 16:37:45 +02:00
clementthomas
b282d2f726 [IMP] hr_expense_analytic_account_preselect_with_project: String and required project field 2023-06-23 11:04:10 +02:00