Department Sequence
hr_department_sequence · OCA/hr
Health
65/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 101 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis
4 migration notes
1 model
3 views
0 HTTP endpoints
Migration considerations
HrDepartment— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceHrDepartment— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourceHrDepartment— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) 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
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- travel_journey_hr
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_department_tree_view |
hr.department.tree.sequence | hr.department | tree | Inherits hr.view_department_tree |
hr_department_view |
hr.department.form.sequence | hr.department | form | Inherits hr.view_department_form |
view_department_filter |
Departments (hr_department_sequence) | hr.department | Inherits hr.view_department_filter |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (7)
-
activeBooleandefault=Truestring='Active' -
child_idsOne2many → hr.departmentcomodel_name='hr.department'inverse_name='parent_id'string='Children Departments' -
codeChar -
parent_idMany2oneondelete='restrict' -
parent_leftIntegerindex=Truestring='Left Parent' -
parent_rightIntegerindex=Truestring='Right Parent' -
sequenceIntegerhelp='Gives the sequence order when displaying a list of departments.'index=Truestring='Sequence'
-
copy(self, default=None)@api.one -
name_get(self)@api.one -
name_search(self, name='', args=None, operator='ilike', limit=100)@api.model
Loading…
Loading…
Loading…