TIP: You can type at any time to perform a new search.
Sequence on expense line
hr_expense_line_sequence · OCA/connector-accountedge
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
hr_expense_line— Class 'hr_expense_line' 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_expense_line— Class 'hr_expense_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_expense_line— Class 'hr_expense_line' 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/connector-accountedge · module folder · Try on Runboat
- Module version
- 1.0
- Category
- Human Resources
- Folder size
- 0.01 MB
- License
- GPL-3 or any later version
- Application
- No
- Auto-installable
- No
- Website
- http://www.savoirfairelinux.com
- Last tracking update
- 2026-08-07 07:17:54
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA)
- Maintainers
- Savoir-faire Linux, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza, Stéphane Bidoul (ACSONE)
Code Analysis
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_expenses_tree |
hr.expense.line.tree.inherit | hr.expense.line | tree | Inherits hr_expense.view_expenses_line_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (3)-
create(self, cr, user, vals, context=None)Overwriting the create() method to update the line numbers of the expense the expense line belongs to -
unlink(self, cr, uid, ids, context=None)Overwriting the unlink() method to update the line numbers of the expense the expense lines belong to -
update_sequences(self, cr, uid, expense, context=None)Updating the sequences (line numbers) of an hr.expense object.
Loading…
Loading…
Loading…