TIP: You can type at any time to perform a new search.
Import holidays in timesheets
hr_timesheet_holidays · OCA/timesheet
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
HolidaysImport— Class 'HolidaysImport' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceHolidaysImport— Class 'HolidaysImport' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceHolidaysImport— Class 'HolidaysImport' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceHrHolidaysStatus— Class 'HrHolidaysStatus' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceHrHolidaysStatus— Class 'HrHolidaysStatus' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceResCompany— Class 'ResCompany' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceResCompany— Class 'ResCompany' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceResCompany— Class 'ResCompany' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/timesheet · module folder · Try on Runboat
- Module version
- 1.0
- Category
- Generic Modules/Human Resources
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com
- Last tracking update
- 2026-08-07 07:10:02
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Wizard to import holidays in the current timesheet ================================================== This module adds a relation between the Leave Types and the Analytic Accounts. The Timesheet lines are created on the Analytic Account defined on the Leave Type. The hours to input per day is configurable at company level. Limitations: - Consider that the work days are Monday to Friday - The wizard creates the attendances each day with Sign-ins at 00:00 and Sign-outs at (00:00 + configured timesheet hours per day). Contributors ------------ * Jean-Baptiste Aubort <jean-baptiste.aubort@camptocamp.com> * Guewen Baconnier <guewen.baconnier@camptocamp.com> * Yannick Vaucher <yannick.vaucher@camptocamp.com>
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_status_form1 |
hr.holidays.status.form | hr.holidays.status | form | Inherits hr_holidays.edit_holiday_status_form |
view_company_inherit_form |
res.company.form.inherit | res.company | form | Inherits base.view_company_form |
view_holiday_status_tree1 |
hr.holidays.status.tree | hr.holidays.status | tree | Inherits hr_holidays.view_holiday_status_normal_tree |
view_hr_timesheet_holidays_import |
hr.timesheet.holidays.import | hr.timesheet.holidays.import | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
import_holidays(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…