Set Product Internal Reference as Unique
Project description
This module adds a constraint on the internal reference of the product to make it unique across the database.
Table of contents
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Antonio Yamuta <ayamuta@opensourceintegrators.com>
Raf Ven <raf.ven@dynapps.be>
Watthanun Khorchai <watthanun_t@hotmail.com>
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.
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
Hashes for odoo14_addon_product_code_unique-14.0.1.0.1.dev6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f8d8cd3d64a1d14552165f0a64c1f8fd15e37129fccb34f0e82f21897565d19 |
|
MD5 | 7c1b1cdf29846dba75f9ab471a33d272 |
|
BLAKE2b-256 | 17c4c76aeab066dbed7fac633898fbf1cf0ebcf39f0aa1907868c976d2f385a8 |