Product Category Code Unique

Allows to set product category code field as unique

https://odoo-community.org/web/image/product.template/10520/image_1920?unique=fe68f9f
  • Odoo Version

Read the rules established to regulate the OCA (Bylaws )

Product Category Code Unique

Beta License: AGPL-3 OCA/product-attribute Translate me on Weblate Try me on Runboat

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

Configuration

There are 3 restriction options, which can be set from Settings > General Settings > Category Code Unique, under the "Product Category Code" section.

  1. Whole system. Product category codes must be unique within the whole system.
  2. Parent-Children. Product category code for a given product category must be unique considering its parent category and its child categories.
  3. Category Hierarchy. Product category codes must be unique within the same categories hierarchy.

Usage

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.

Bug Tracker

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.

Credits

Authors

  • ACSONE SA/NV

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

rousseldenis luisg123v

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.

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products