OdooWiki OCA HUB

HR department code

hr_department_code folder_open OCA/hr open_in_new
Human Resources License: AGPL-3

This module add code in department.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds 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

hr
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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation 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.

info

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.