Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Hidden
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr
Last tracking update
2026-08-07 08:09:27
Authors
Odoo Community Association (OCA), Coop IT Easy SC
Maintainers
Odoo Community Association (OCA), Coop IT Easy SC
Committers
Carmen Bianca BAKKER, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
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_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
Public methods (2)
  • copy(self, default=None)
  • get_multi_week_epoch_date(self)