Skip to Content

Auto Product Code Generation

by

10.61

17.0 0
Live Preview
Required Apps Discuss (mail)
Technical Name to_product_code_sequence
License OPL-1
You bought this module and need support ? Click here!
Technical Name to_product_code_sequence
License OPL-1

Introduction

The to_product_code_sequence module enhances Odoo’s product management by enabling automatic generation of internal reference codes. It works by combining customizable prefixes with sequential numbering—configured at the product category level—and applies these codes across new and existing products, including variants. Ideal for businesses aiming for consistent SKU formatting and streamlined inventory setup, this tool simplifies product onboarding and ensures uniformity in product coding.

Key Features

  • Define a Product Code Prefix and associated Product Sequence at the product category level

  • Automatically generate product codes by concatenating the prefix with the next sequence number

  • Apply code generation in bulk for multiple products and variants simultaneously

  • Update existing product codes based on new prefix or sequence rules via an “Update Product Code” action

Benefits

  • Ensure consistent SKU and internal reference formatting across your catalog

  • Eliminate manual entry errors and speed up product setup

  • Enhance inventory tracking and operational clarity with structured product codes

  • Simplify maintenance and re-coding of existing products through bulk update capability

Compatibility & Technical Details

Technical Name: to_product_code_sequence

License: Proprietary (OPL-1)

Required Modules:

  • Discuss (mail)

Installation Steps:

  1. Confirm that the Discuss module is installed and active.

  2. Place the to_product_code_sequence module into your add-ons directory.

  3. Update the module list and install the module.

  4. Configure product codes by setting up prefixes and sequences in product category settings.

  5. Create or update products to generate internal reference codes automatically; use the action menu to bulk update if needed.

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.