Skip to Content

Sales app for Odoo

Product Auto Reference

Gives every new product an Internal Reference automatically, with its own prefix and numbering per product category.

SalesOPL-1Odoo 20Odoo 19
Product Auto Reference for Odoo, category prefix
Price$12.99
LicenseOPL-1
Odoov20 · v19
CategorySales

Overview

Product Auto Reference.

Typing product codes by hand leads to gaps, duplicates and products with no code at all. Product Auto Reference lets you set a prefix such as CHR- on a product category, and every new product in that category, or in its sub categories, gets the next Internal Reference by itself, CHR-0001, CHR-0002 and so on. Each variant gets its own number, a reference you type yourself is always kept, and a duplicated product gets a fresh number. Products you already have can be numbered in one go from the product list.

New to Odoo Sales? Read our practical guide to how it works

How it works

Built around what you actually do.

Every screen below is the module running in Odoo, not a mockup.

01

A Reference Prefix and number of Digits on each product category

  • New products get the next Internal Reference automatically, such as CHR-0001
  • Sub categories without their own prefix share their parent's prefix and numbering
  • Every product variant gets its own reference
Product Auto Reference for Odoo, new product reference
New product reference

02

A reference you type yourself is always kept, and no number is used up for it

  • A duplicated product gets a new number instead of a copy of the old one
  • The category form shows the next reference that will be given
  • Generate Internal References for existing products from the product list Actions menu
Product Auto Reference for Odoo, products with references
Products with references

Product Auto Reference turns the Internal Reference from a field people forget into one Odoo fills in for them, with a code that tells you the category at a glance.

What it does

Set a Reference Prefix and the number of Digits on a product category, and every new product in it gets the next Internal Reference as soon as it is created. Sub categories without their own prefix follow their parent, so one numbering can cover a whole branch of your catalogue. The category form shows the Next Reference so you always know what comes next.

Each variant of a product gets its own number, a duplicated product gets a new one, and a reference typed by hand is always kept. For the products you already have, select them in the list and run Generate Internal References from the Actions menu.

Who it's for

Distributors, shops and manufacturers that use product codes on labels, price lists and orders, and want every product in the catalogue to have one, in a pattern that makes sense.

Questions

About Product Auto Reference.

How do I generate product internal references automatically in Odoo?

Open a product category, fill in Reference Prefix, for example CHR-, and choose the number of Digits. Every new product in that category then gets the next reference by itself, CHR-0001, CHR-0002 and so on.

Can each category have its own prefix?

Yes. Every category keeps its own prefix and its own counter. A sub category without a prefix of its own uses its parent's prefix and counter, so Office Chairs under Furniture can share the FUR- numbering.

What about the products I already have?

Select them in the product list and run Actions, Generate Internal References. Products without a reference get the next number of their category; products that already have one are left alone, and you are told how many were skipped because their category has no prefix.

Will it overwrite a reference I typed?

Never. If you type an Internal Reference when you create the product, it is kept and no number is used up for it.

Who can set the prefix and run the action?

Users who can edit product categories set the prefix. The Generate Internal References action is offered to users with the right to create products.

Does it work on Community and Enterprise?

Yes. It needs only the Products module that Sales, Inventory, Purchase and Invoicing all use.

On the Odoo Store

Get Product Auto Reference on the Odoo Store.

Pick your Odoo version and install it in a click, with free updates and real support behind it.

Get it on the Odoo Store