Skip to content

[17.0][MIG] hr_attendance_validation#221

Open
petrus-v wants to merge 18 commits intoOCA:17.0from
petrus-v:17.0-mig-hr_attendance_validation
Open

[17.0][MIG] hr_attendance_validation#221
petrus-v wants to merge 18 commits intoOCA:17.0from
petrus-v:17.0-mig-hr_attendance_validation

Conversation

@petrus-v
Copy link
Contributor

@petrus-v petrus-v commented Apr 29, 2025

Migrate from v14.0

As the new hr.attendance.overtime (in v15) we use it as standard backend to store adjustement hours.
this gives the opportunity to configure on employee if it compute compensatory hours are weekly or daily base. For daily base this is the Odoo standard so it's out of the scope of the weekly validation.

@petrus-v petrus-v force-pushed the 17.0-mig-hr_attendance_validation branch 3 times, most recently from df306b0 to 683fcfd Compare May 6, 2025 07:39
@petrus-v petrus-v force-pushed the 17.0-mig-hr_attendance_validation branch 2 times, most recently from 274b272 to 12235e0 Compare May 6, 2025 13:36
@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Sep 28, 2025
petrus-v and others added 16 commits October 21, 2025 15:53
This module allow to review attendance per weeks
and generate proper compensatory hours

And apply suggestions from code review

Co-authored-by: aleuffre <78726989+aleuffre@users.noreply.github.com>
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: hr-attendance-14.0/hr-attendance-14.0-hr_attendance_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-attendance-14-0/hr-attendance-14-0-hr_attendance_validation/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: hr-attendance-14.0/hr-attendance-14.0-hr_attendance_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-attendance-14-0/hr-attendance-14-0-hr_attendance_validation/
Currently translated at 100.0% (85 of 85 strings)

Translation: hr-attendance-14.0/hr-attendance-14.0-hr_attendance_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-attendance-14-0/hr-attendance-14-0-hr_attendance_validation/it/
Currently translated at 100.0% (85 of 85 strings)

Translation: hr-attendance-14.0/hr-attendance-14.0-hr_attendance_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-attendance-14-0/hr-attendance-14-0-hr_attendance_validation/it/
we are using hr.leaves to manage allowed remote days but we
don't want to remove thoses times in attendance validation
Currently translated at 100.0% (87 of 87 strings)

Translation: hr-attendance-14.0/hr-attendance-14.0-hr_attendance_validation
Translate-URL: https://translation.odoo-community.org/projects/hr-attendance-14-0/hr-attendance-14-0-hr_attendance_validation/it/
…ue for analysis purpose

* store existing fields to be used in pivot view
* add new field to report compensatory leaves taken
Use start/end validation sheet dates to compute theorical time taking care
of bank holidays
@petrus-v petrus-v force-pushed the 17.0-mig-hr_attendance_validation branch from 12235e0 to f611093 Compare October 21, 2025 16:31
@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 26, 2025
@petrus-v petrus-v force-pushed the 17.0-mig-hr_attendance_validation branch from f611093 to 7ce2eef Compare November 18, 2025 16:25
@petrus-v petrus-v marked this pull request as ready for review November 18, 2025 16:38
@petrus-v petrus-v force-pushed the 17.0-mig-hr_attendance_validation branch from 7ce2eef to 9b4dd8c Compare November 18, 2025 16:40
@petrus-v petrus-v force-pushed the 17.0-mig-hr_attendance_validation branch 2 times, most recently from 0bcc3ea to abe1108 Compare January 13, 2026 10:58
@petrus-v petrus-v force-pushed the 17.0-mig-hr_attendance_validation branch 4 times, most recently from 513ed56 to 42da547 Compare February 9, 2026 10:49
@petrus-v
Copy link
Contributor Author

petrus-v commented Feb 9, 2026

Also depends on #251

* hr_holidays_public: fix calendar.get_work_hours_count
* hr_attendance_overtime: standard migration
* hr_attendance_modification_tracking: standard migration
Compensatory Allocation and adjustement hours now
rely on Odoo standard hr.attendance.overtime
@petrus-v petrus-v force-pushed the 17.0-mig-hr_attendance_validation branch from 42da547 to 18abfe2 Compare February 9, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants