This module allows to restrict unique codes on product categories. If no code is provided, a code is generated by a sequence.
Table of contents
There are 3 restriction options, which can be set from Settings > General Settings > Category Code Unique, under the "Product Category Code" section.
- Whole system. Product category codes must be unique within the whole system.
- Parent-Children. Product category code for a given product category must be unique considering its parent category and its child categories.
- Category Hierarchy. Product category codes must be unique within the same categories hierarchy.
All product category codes are checked every time the category restriction is changed. An error message is shown when it is not possible to change the restriction because some codes are duplicated depending on the restriction selected.
If no code is manually set in a product category, one is automatically assigned following a sequence.
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- ACSONE SA/NV
- Denis Roussel <denis.roussel@acsone.eu>
- Rolando Duarte <rolando@vauxoo.com>
- Manuel Regidor <manuel.regidor@sygel.es>
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainers:
This module is part of the OCA/product-attribute project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.