TIP: You can type at any time to perform a new search.
Employee Calendar Planning
hr_employee_calendar_planning · OCA/hr
- Repository
- OCA/hr · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Human Resources
- Folder size
- 0.11 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/hr
- Last tracking update
- 2026-08-07 09:06:28
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Miquel Raïch, OCA-git-bot, oca-ci, Vicent-S73
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module allows to manage employee working time with profiles by date intervals. The profiles are regular working time calendars, but they are treated as master ones here, allowing you to compose complexes working times by dates. Under the hook, a unique working time is created for each employee with the proper composition for not affecting the rest of the functionality linked to this model.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
resource_calendar_form |
resource.calendar | form | Inherits resource.resource_calendar_form | |
view_employee_form |
hr.employee | form | Inherits hr.view_employee_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (1)
-
calendar_idsOne2many → hr.employee.calendarcomodel_name='hr.employee.calendar'copy=Trueinverse_name='employee_id'string='Calendar planning'
-
copy(self, default=None) -
copy_global_leaves(self) -
create(self, vals_list)@api.model_create_multi -
default_get(self, fields)@api.modelSet calendar_ids default value to cover all use cases. -
regenerate_calendar(self)
New fields (5)
-
calendar_idMany2one → resource.calendarcheck_company=Truecomodel_name='resource.calendar'ondelete='restrict'required=Truestring='Working Time' -
company_idMany2onerelated='employee_id.company_id' -
date_endDatestring='End Date' -
date_startDatestring='Start Date' -
employee_idMany2one → hr.employeecomodel_name='hr.employee'ondelete='cascade'required=Truestring='Employee'
-
create(self, vals)@api.model_create_multi -
unlink(self) -
write(self, vals)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
activeBooleandefault=True -
auto_generateBoolean -
employee_calendar_idsOne2many → hr.employee.calendarargs: 'hr.employee.calendar', 'calendar_id'
-
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…