Skip to Content
Menu
v 17.0 Third Party 55
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 137
Technical Name product_code_uniqueness
LicenseLGPL-3
Websitehttps://timefordev.com
You bought this module and need support? Click here!

Unique Product Code

Makes product code unique globally (no company) and locally (per company). We include archived products also when validating constraint.

NOTE. Standard odoo also checks whether same code exists, but it does not prevent user from creating duplicates (that check is also bypassed when importing products).

Configuration

A new configuration field Unique Product Codes in General Settings for enabling/disabling product's code uniqueness:

  • Disabled - uniqueness is disabled;
  • Enabled - enabled case-sensitive uniqueness;
  • Enabled Case-Insensitive - enabled case-insensitive uniqueness;

Notes

This is an alternative product_code_unique module.

Contributors

  • Andrius Laukavičius (timefordev)

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.