Skip to content

Latest commit

 

History

History

product_category_code_unique

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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.

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

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.