This module adds a field 'code' on product category level.
The code is shown in the category display name as [code] name, and categories can be searched by code everywhere they are searched by name.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a code field to product categories, shown as [code] name in the category display name, and lets users search categories by code wherever they search by name.
This module lets you give every product category a short code, for example an internal reference or accounting code.
Where it appears in Odoo: - On the product category form, a new Code field is placed right after the parent category. - In the product category list, a Code column is added after the category name. - In the category search box, you can now search by code as well as by name.
Automatic behaviours: - New categories get the default code "/", which means "no code yet". - When a category has a real code (anything other than "/"), its displayed name becomes "[code] name", so the code is visible wherever the category name is shown. - When you duplicate a category, the copy gets the same code with "-copy" appended, so two categories do not share the same code. - The code is indexed, which makes searching by code fast.
Technical notes: the display-name change can be switched off through a context option, and it is skipped in import-compatibility mode so that data imports are not affected. The module only touches product.category and its existing form, list and search views; it does not change products, stock or sales.
Depends on
Required by other modules
Models and fields (1)
- product.category · 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: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/product-attribute.
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.