Timesheet import accounts from last timesheet
hr_timesheet_sheet_import_accounts · OCA/timesheet
-
Security25/25No findings
-
Activity0/25Last human commit 122 months ago
-
Required by5/250 modules depend 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
hr_timesheet_sheet— Class 'hr_timesheet_sheet' 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_timesheet_sheet_lwa_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 · 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
Timesheet import accounts from last timesheet
It is usual for employees in a company to work on the same projects for weeks.
Completing the timesheets id Odoo currently means entering for each timesheet the analytic accounts every time, which turns to be time consuming.
This module lets the user import the analytic accounts from the previous timesheet, with a simple click.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_timesheet_sheet_lwa_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 1
No new fields.
Public methods (1)-
set_previous_timesheet_ids(self, cr, uid, ids, context=None)