Unique Product Internal Reference
Module index
App product page index
Unique Product Internal Reference
Catch a duplicate internal reference before it reaches your catalogue.
Overview
Warn users when they enter an Internal Reference that is already in use, then reject the duplicate at save time. The same check applies to form edits, imports, and RPC writes, including simultaneous saves.
Features
- Warn on a duplicate and block the save on products and variants.
- Compare references without case or surrounding spaces. Archived products still reserve their references.
- Allow the same code in separate companies. A shared product reserves its code across companies.
- Allow empty references and keep codes such as ABC_1 and ABCX1 distinct.
Configuration
Install the add-on to start validating the existing Internal Reference field. Previously stored duplicates stay in place until you resolve them. Changes to their reference, company, or active status are checked.
Follow the warning, blocked save, and corrected reference in Odoo 19.
Functional Walkthrough
Follow the workflow below from the first action to the result. Screenshots use demonstration records; the descriptions explain what to do, what the screen shows and which normal Odoo steps still apply.
1. Find the existing reference
Cedar Desk already uses DESK-01. The add-on uses the normal Internal Reference field on products and variants.
2. Enter a duplicate on another product
Enter desk-01 on Maple Desk. Leaving the field opens a warning because the comparison ignores letter case and surrounding spaces.
3. Try to save the duplicate
Close the warning and choose Save. Odoo rejects the duplicate and identifies the existing product when you have access to it.
4. Enter a unique reference and save
Change the reference to DESK-03 and save. Reopen Maple Desk to confirm its new reference.
Customer Payment Indicator
Legal
License
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
Terms
Terms and conditions
OdooSphere Apps Terms & Conditions
By purchasing an app from OdooSphere, the customer agrees to the following terms.
Payment
All payments must be completed immediately through the website checkout. Orders are processed only after successful payment confirmation from the payment provider.
Delivery
After payment confirmation, the purchased module will be delivered digitally as a ZIP file through email or the customer portal, where applicable.
Support Period
Each purchased app includes 90 days of free support from the purchase date.
- Help during the installation process
- Assistance with module setup and basic configuration
- Bug fixes related to the purchased module
- Guidance for using the app as described on the product page
Support Exclusions
- Custom feature development
- Changes for special business workflows
- Odoo server setup, hosting, or deployment issues
- Conflicts caused by third-party modules
- Migration to another Odoo version unless clearly included
- Issues caused by direct changes to the module source code
- Training, data entry, or consulting beyond the purchased app scope
Compatibility
Apps are provided for the Odoo versions mentioned on the product page. The customer is responsible for selecting the correct Odoo version before purchase.
Refund Policy
Since apps are digital products delivered after payment, purchases are generally non-refundable. Refunds may be considered only if payment was duplicated, the ZIP file was not delivered, or the app cannot work on the listed compatible Odoo version due to a confirmed issue in the delivered module.
License & Usage
The purchased app is licensed for use by the purchasing customer or company. Reselling, redistributing, publishing, or sharing the module with third parties is not allowed without written permission from OdooSphere.
Updates
Free updates are not guaranteed unless specifically mentioned on the product page. Bug fixes within the 90-day support period may be provided when the issue is confirmed to be caused by the purchased app.
Limitation of Liability
OdooSphere is not responsible for business losses, data loss, downtime, third-party service issues, or problems caused by incorrect installation, custom changes, or incompatible modules.
Reviews
Discuss this module
Logged-in users can ask questions, discuss implementation details, and rate this module. Your rating updates the app score across the marketplace.