TIP: You can type at any time to perform a new search.
Departmental Transfer
hr_transfer · OCA/hr
Security findings
Migration considerations
- Imports from the old `openerp` 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
- Uses the old workflow engine (base.workflow / `trg_validate`): removed in Odoo 11.0, must be rewritten as state-field transitions. migration-workflow · source
- Uses the old workflow engine (base.workflow / `trg_validate`): removed in Odoo 11.0, must be rewritten as state-field transitions. migration-workflow · source
- Uses the old workflow engine (base.workflow / `trg_validate`): removed in Odoo 11.0, must be rewritten as state-field transitions. migration-workflow · source
department_transfer_form_view— For a target of Odoo 17.0+: view 'department_transfer_form_view' 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_transfer— Class 'hr_transfer' 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_transfer— Class 'hr_transfer' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_transfer— Class 'hr_transfer' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcedepartment_transfer_tree_view— View 'department_transfer_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · 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
- Localization
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://miketelahun.wordpress.com
- Last tracking update
- 2026-08-07 07:17:51
- Authors
- Michael Telahun Makonnen <mmakonnen@gmail.com>, Odoo Community Association (OCA)
- Maintainers
- Michael Telahun Makonnen <mmakonnen@gmail.com>, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza, Iryna Vushnevska
Code Analysis
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
department_transfer_form_view |
hr.department.transfer.form | hr.department.transfer | form | New |
department_transfer_tree_view |
hr.department.transfer.tree | hr.department.transfer | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (7)-
effective_date_in_future(self, cr, uid, ids, context=None) -
onchange_employee(self, cr, uid, ids, employee_id, context=None) -
state_confirm(self, cr, uid, ids, context=None) -
state_done(self, cr, uid, ids, context=None) -
transfer_contract(self, cr, uid, contract_id, job_id, xfer_id, effective_date, context=None) -
try_pending_department_transfers(self, cr, uid, context=None)Completes pending departmental transfers. Called from the scheduler. -
unlink(self, cr, uid, ids, context=None)
Loading…
Loading…
Loading…