Skip to main content

Allows to set product category code field as unique

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_product_category_code_unique-16.0.1.0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_product_category_code_unique-16.0.1.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 154389ea4bdf78562efd2e6b653df140b0a69d46864599a1a8b66d6a226c364d
MD5 479f3cc743dbfa8ac86c26fa807e0024
BLAKE2b-256 d79bd499faa0402e3d7085fd34f7b419cca537b2062aa3779db9806fc10a9314

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page