RRules in resource calendars
resource_calendar_rrule · OCA/hr
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 98 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.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.09 MB
Module directory on disk
Code analysis
6 migration notes
2 models
5 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
ResourceCalendar— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (5 methods) migration-api-multi-one · sourceResourceCalendarAttendance— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceview_resource_calendar_attendance_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · 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
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_backend |
resource_calendar_rrule assets | ir.ui.view | qweb | Inherits web.assets_backend |
resource_calendar_form |
resource.calendar | form | Inherits resource.resource_calendar_form | |
resource_calendar_form_complicated |
resource.calendar | form | Inherits resource_calendar_form | |
view_resource_calendar_attendance_form |
resource.calendar.attendance | form | Inherits resource.view_resource_calendar_attendance_form | |
view_resource_calendar_attendance_tree |
resource.calendar.attendance | tree | Inherits resource.view_resource_calendar_attendance_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
simplified_attendanceSerializedcompute='_compute_simplified_attendance'default=<expr>inverse='_inverse_simplified_attendance' args: 'Working time'
-
get_attendances_for_weekdays(self, id, weekdays)@api.modelA rewrite of this function -
get_weekdays(self, id, default_weekdays=None)@api.model -
get_working_intervals_of_day(self, cr, uid, id, start_dt=None, end_dt=None, leaves=None, compute_leaves=False, resource_id=None, default_interval=None, context=None) -
interval_remove_leaves(self, interval, leave_intervals)Some installations use negative intervals, support them -
write(self, values)@api.multi
New fields (1)
-
rrule_previewTextcompute='_compute_rrule_preview' args: 'Preview'
-
create(self, vals)@api.model