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>
Chafique Delli <chafique.delli@akretion.com>
Funders
The development of this module has been financially supported by:
Open Source Integrators <http://www.opensourceintegrators.com>
Akretion <https://www.akretion.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 odoo10_addon_product_code_unique-10.0.1.0.0.99.dev1-py2-none-any.whl
.
File metadata
- Download URL: odoo10_addon_product_code_unique-10.0.1.0.0.99.dev1-py2-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 2
- 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 | 809210bd88b0a9b0cae3fe49b1ee9ef9121beea67f8205360662dda70b9f40e8 |
|
MD5 | d4ce5e7f62552e9951a33d53efdb90a2 |
|
BLAKE2b-256 | 29d97c271f4a6f37be3e1d86e73004f61ec4694fab73fcc1ecce1f0bafeb1782 |