Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
Lines of code | 220 |
Technical Name |
product_automatic_internal_ref |
License | LGPL-3 |
Website | https://thefishconsulting.be |
Versions | 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
Lines of code | 220 |
Technical Name |
product_automatic_internal_ref |
License | LGPL-3 |
Website | https://thefishconsulting.be |
Versions | 17.0 18.0 |
Automated Product Internal References by Category
This module allows you to define a unique sequence for each product category.
This sequence will automatically populate the internal reference for products within the respective category.
The code is well-documented, making it easy to customize to your specific needs.
The module is available in both English and French.
Activate Automatic Internal Reference Generation
You can enable this feature on the Inventory settings page.

Once activated, the internal reference field for products will become read-only. When a new product is created, Odoo will automatically generate the internal reference based on the sequence defined for its category.


How It Works: An Example
Here's an example of how your product categories might be structured.

You don't need to set a sequence for every category. Odoo will search from the bottom up, applying the sequence of the parent category if a specific category doesnât have one.
Below is the result for the internal references of products.

You can configure your own sequences by navigating to Settings > Technical > Sequences & Identifiers > Sequences.
Developer mode must be activated to access this menu.

Do you want to test this module?
Request access to a demo system by contacting us at: contact@thefishconsulting.be.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedExcelente Módulo! Funciona perfecto y es muy sencillo de usar!
Excellent module, bien conçu et très facile à utiliser ! Il répond à une problématique courante chez de nombreux clients. Je le recommande vivement.
There are no comments yet!