Set Product Internal Reference as Unique
Project description
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.
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
Antonio Yamuta <ayamuta@opensourceintegrators.com>
Funders
The development of this module has been financially supported by:
Open Source Integrators <http://www.opensourceintegrators.com>
Maintainer
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.
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
File details
Details for the file odoo12_addon_product_code_unique-12.0.1.0.0-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_product_code_unique-12.0.1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae8ec1c9853af835f8abfb5950a6c20958ea697b7f9368c94a0cfb5d72b37b7 |
|
MD5 | 857cc6e9609d95a69065b3921ba3e9ad |
|
BLAKE2b-256 | 7d4af98968cdb7d3dd1ea7a3c69bb913d9901f1bb6aa8f2c6eb94ffebbc33956 |