This module add code in department.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a short code field to HR departments and shows it in the department name, list, kanban and search, so departments can be identified by a code as well as a name.
This module lets you store a short code on each HR department. On the department form, the code appears as a large title field right after the department name, so it is easy to see and edit.
- In the departments list view, a Code column is available (shown by default) next to the department name.
- On the department kanban cards, the code is displayed in square brackets before the department name when a code is set.
- In the department search box, typing a term now matches both the department name and its code, so you can find a department by either.
- Departments are sorted by code first, then by name.
- Wherever a department is displayed by its name (for example in selection fields or references), the code is automatically prefixed in square brackets, such as [HR] Human Resources, when a code exists.
All of this applies to the standard hr.department model and its existing form, list, kanban and search views. No new menus or reports are added, and no validation or restriction is placed on the code value.
Depends on
Models and fields (1)
- hr.department · extends an existing modelcode
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/hr.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.