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 to smash 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.dev10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 850a87435ce574ab6df80c8518563401e8b974bc247001385ff06904834fa0ba |
|
MD5 | 5db292385f89ff6297f67a3c49eec202 |
|
BLAKE2b-256 | 0a98ada8caf42fa3ae85e4f72303177fe7791fd6fb38225fe27dd052565c0391 |