Resource Calendar Flexible Hours Exclude Weekend
This module allows to compute the resource calendar as flexible, without taking the week-end days on the computation.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds an "Exclude Weekends" option to flexible working schedules, so weekends are not counted as working time when Odoo computes attendance and unusual days.
This module extends the Working Schedules (resource calendars) in Odoo. On the schedule form, inside the flexible-hours details group, a new checkbox called "Exclude Weekends" is added. It only has an effect when the schedule is set as flexible hours.
When both flexible hours and exclude weekends are enabled, Odoo changes how it calculates attendance periods: if a calculation starts on a Saturday or Sunday, it is moved forward to the following Monday, and weekend days are skipped when building the working intervals. This applies per resource and per time zone.
It also changes how unusual (non-working) days are determined for such schedules: days without any working interval are reported as unusual, so weekends are treated as non-working days.
- New field on
resource.calendar:exclude_weekends. - Affects attendance interval computation and unusual-day computation.
- Visible on the Working Schedule form, in the flexible hours section.
- Depends on the resource and hr_work_entry modules.
Depends on
Models and fields (1)
- resource.calendar · extends an existing modelexclude_weekends
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/hr-holidays.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.