Skip to main content
License: AGPL-3

Unique Product Internal Reference

This module adds a constraint on the internal reference of the product to make it unique across the database.

Usage

  • Unable to save a product when a new internal reference or default_code value is the same with an existing record.

  • A pre_init_hook process is initiated when there exist records without an internal reference(default_code). A default value is generated to populate empty field as a temporary value.

Try me on Runbot

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 smash it by providing detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Funders

The development of this module has been financially supported by:

Maintainer

Odoo Community Association

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.

To contribute to this module, please visit https://odoo-community.org.

Metadata

Release files for odoo12-addon-product-code-unique 12.0.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo12-addon-product-code-unique 12.0.1.0.0
File Interpreter ABI Platform Actions
odoo12_addon_product_code_unique-12.0.1.0.0-py3-none-any.whl Python 3 none any Details for odoo12_addon_product_code_unique-12.0.1.0.0-py3-none-any.whl

Release files / odoo12_addon_product_code_unique-12.0.1.0.0-py3-none-any.whl

Download URL odoo12_addon_product_code_unique-12.0.1.0.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ae8ec1c9853af835f8abfb5950a6c20958ea697b7f9368c94a0cfb5d72b37b7
BLAKE2b-256 checksum
How to use checksums
7d4af98968cdb7d3dd1ea7a3c69bb913d9901f1bb6aa8f2c6eb94ffebbc33956
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3

Security for odoo12-addon-product-code-unique 12.0.1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page