TIP: You can type at any time to perform a new search.
Activity on Timesheet
hr_activity_on_timesheet · OCA/hr
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.tools` 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.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
- 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
account_analytic_account— Class 'account_analytic_account' 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 · sourceaccount_analytic_account— Class 'account_analytic_account' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceaccount_analytic_account— Class 'account_analytic_account' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceaccount_analytic_account_timesheet_form— For a target of Odoo 17.0+: view 'account_analytic_account_timesheet_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourcehr_activity— Class 'hr_activity' 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 · sourcehr_activity— Class 'hr_activity' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_analytic_timesheet— Class 'hr_analytic_timesheet' 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 · sourcehr_analytic_timesheet— Class 'hr_analytic_timesheet' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_analytic_timesheet— Class 'hr_analytic_timesheet' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_contract— Class 'hr_contract' 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 · sourcehr_contract_job— Class 'hr_contract_job' 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 · sourcehr_job— Class 'hr_job' 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 · 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/hr · module folder · Try on Runboat
- Module version
- 1.0
- Category
- Generic Modules/Human Resources
- Folder size
- 0.3 MB
- License
- AGPL-3
- Application
- Yes
- Auto-installable
- No
- Website
- https://www.savoirfairelinux.com/
- Last tracking update
- 2026-08-07 06:56:12
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA)
- Maintainers
- Savoir-faire Linux, Odoo Community Association (OCA)
- Committers
- Alexandre Fayolle, Stéphane Bidoul (ACSONE), OCA Transbot, dufresnedavid
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- hr_worked_days_activity_from_timesheet
- Description
Activity on Timesheet ===================== The aim of this module is to allow users to enter details on their timesheet. With this module, employees can select an Activity which can be a leave type or a specific job position. A list of activities can be selected on analytic account to be authorized for this account. If no activities are selected for an account, every activities will be available to select with this account. This will allow in another module to import the hours from timesheet to worked days and distinguish every hour passed for each activity. Contributors ------------ * David Dufresne <david.dufresne@savoirfairelinux.com> * Pierre Lamarche <pierre.lamarche@savoirfairelinux.com>
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_analytic_account_timesheet_form |
account.analytic.account.invoice.form | account.analytic.account | form | Inherits analytic.view_account_analytic_account_form |
hr_timesheet_line_form |
hr.analytic.timesheet.form | hr.analytic.timesheet | form | Inherits hr_timesheet_invoice.hr_timesheet_line_form |
hr_timesheet_line_tree |
hr.analytic.timesheet.tree | hr.analytic.timesheet | tree | Inherits hr_timesheet_invoice.hr_timesheet_line_tree |
hr_timesheet_sheet_form |
hr.timesheet.sheet.form | hr_timesheet_sheet.sheet | form | Inherits hr_timesheet_sheet.hr_timesheet_sheet_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (6)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
on_change_account_id(self, cr, uid, ids, account_id, user_id=False, activity_id=False, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.