Activity on Timesheet
hr_activity_on_timesheet · OCA/hr
-
Security25/25No findings
-
Activity0/25Last human commit 123 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. 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=`. (2 occurrences in this file) migration-old-style-fields · sourceaccount_analytic_account_timesheet_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping 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=`. (2 occurrences in this file) 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. (3 occurrences in this file) migration-old-api-base · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (3 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
on_change_account_id(self, cr, uid, ids, account_id, user_id=False, activity_id=False, context=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.