TIP: You can type at any time to perform a new search.
Timesheet import accounts from last timesheet
hr_timesheet_sheet_import_accounts · OCA/timesheet
Security findings
Migration considerations
- 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
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— For a target of Odoo 17.0+: view 'hr_timesheet_sheet_lwa_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 · 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
- Human Resources
- Folder size
- 0.01 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.eficent.com
- Last tracking update
- 2026-08-07 06:56:12
- Authors
- Eficent
- Maintainers
- Eficent
- Committers
- Pedro M. Baeza
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis
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)
New fields (0)
No new fields.
Public methods (1)-
set_previous_timesheet_ids(self, cr, uid, ids, context=None)