| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr |
| GIT | |
| GIT | https://github.com/OCA/hr.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr/tree/16.0/resource_multi_week_calendar |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Hidden |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Coop IT Easy SC |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Coop IT Easy SC |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, Carmen Bianca BAKKER, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:49 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - resource - base - web |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
resource_calendar_form |
resource.calendar.form | resource.calendar | button | Inherits resource.resource_calendar_form |
view_resource_calendar_search |
resource.calendar.search | resource.calendar | xpath | Inherits resource.view_resource_calendar_search |
child_calendar_ids
One2many → resource.calendar
comodel_name='resource.calendar'
copy=True
inverse_name='parent_calendar_id'
string='Alternating Working Times'
current_multi_week_calendar_id
Many2one → resource.calendar
comodel_name='resource.calendar'
compute='_compute_current_week'
recursive=True
current_week_number
Integer
compute='_compute_current_week'
recursive=True
is_multi_week
Boolean
compute='_compute_is_multi_week'
store=True
multi_week_calendar_ids
One2many → resource.calendar
comodel_name='resource.calendar'
compute='_compute_multi_week_calendar_ids'
recursive=True
multi_week_epoch_date
Date
default='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=True
string='Date of First Week'
parent_calendar_id
Many2one → resource.calendar
comodel_name='resource.calendar'
domain=[('parent_calendar_id', '=', False)]
ondelete='cascade'
string='Main Working Time'
week_number
Integer
compute='_compute_week_number'
recursive=True
store=True
week_sequence
Integer
default=0
copy(self, default=None)
get_multi_week_epoch_date(self)