Multi-week calendars
resource_multi_week_calendar · OCA/hr
Health
41/100
poor
-
Security25/25No findings
-
Activity6/25Last human commit 27 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
1 migration note
1 model
2 views
0 HTTP endpoints
Migration considerations
resource_calendar_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
resource_calendar_form |
resource.calendar.form | resource.calendar | form | Inherits resource.resource_calendar_form |
view_resource_calendar_search |
resource.calendar.search | resource.calendar | search | Inherits resource.view_resource_calendar_search |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (9)
-
child_calendar_idsOne2many → resource.calendarcomodel_name='resource.calendar'copy=Trueinverse_name='parent_calendar_id'string='Alternating Working Times' -
current_multi_week_calendar_idMany2one → resource.calendarcomodel_name='resource.calendar'compute='_compute_current_week'recursive=True -
current_week_numberIntegercompute='_compute_current_week'recursive=True -
is_multi_weekBooleancompute='_compute_is_multi_week'store=True -
multi_week_calendar_idsOne2many → resource.calendarcomodel_name='resource.calendar'compute='_compute_multi_week_calendar_ids'recursive=True -
multi_week_epoch_dateDatedefault='1970-01-01'help='When using alternating weeks, the week which contains the\n specified date becomes the first week, and all subsequent weeks\n alternate in order.'required=Truestring='Date of First Week' -
parent_calendar_idMany2one → resource.calendarcomodel_name='resource.calendar'domain=[('parent_calendar_id', '=', False)]ondelete='cascade'string='Main Working Time' -
week_numberIntegercompute='_compute_week_number'recursive=Truestore=True -
week_sequenceIntegerdefault=0
-
copy(self, default=None) -
get_multi_week_epoch_date(self)