Allows to set product category code field as unique
Project description
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.
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.
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
Contributors
Denis Roussel <denis.roussel@acsone.eu>
Rolando Duarte <rolando@vauxoo.com>
Manuel Regidor <manuel.regidor@sygel.es>
Maintainers
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_product_category_code_unique-16.0.1.0.0.3-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_product_category_code_unique-16.0.1.0.0.3-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
154389ea4bdf78562efd2e6b653df140b0a69d46864599a1a8b66d6a226c364d
|
|
| MD5 |
479f3cc743dbfa8ac86c26fa807e0024
|
|
| BLAKE2b-256 |
d79bd499faa0402e3d7085fd34f7b419cca537b2062aa3779db9806fc10a9314
|