Product Dynamic Codes v.12

The tool to flexibly and automatically update product internal references


The tool does not require extra dependencies beside standard Odoo apps.
Current version:

As soon the app is installed, current products' references might be re-calculated
This is the tool to implement product automatic coding which satisfies your real requirements. The app is flexible enough to reflect almost any product reference structure, since it let you define as many code parts and as complex criteria as you like.

Advanced rules to construct product reference

Specify an unlimited number of code positions of internal references. For example, the first position relates to a category, the second – to a manufacturer, the third – to the attribute 'material', etc.
Code positions for certain products might be empty: e.g. for services there is no sense to have a code part of the attribute 'material'.
Each position has rules to generate a code value. For example, for products made of aluminium it is '-AL', for products with material steel it is '-ST'. In order a code part is calculated for this product, there should be at least a single rule this product satisfies.


Product reference is updated according to coding rules

Product automatic code example

Have as many code positions (parts) as required

Code position to make product reference

Flexibly configure rules to combine a product internal reference

Product coding rules and settings

Static and dynamic code parts

Each rule might lead to a static code (e.g. '-AL') or to a dynamic one. In the latter case a real product property is used. For instance, the first 2 letters of a category or a year of a manufacture date.

How dynamic code parts work

  • Use fields of a product variant and product templates
  • Apply any field of the types: char, integer, float, date and date with time, selection, and many2one.
  • Rely upon any standard or custom fields (e.g. manufacturer or manufacture date)
  • In case of many2one field (e.g. a related product category) you should select its field (for example, category name or category custom code)
  • Use not the whole field value, but its part. For instance, apply first 2 letters (0-1) of a category name or only month of a manufacture date (5-7). Leave '0' in both start and end to retrieve the whole field value


Use product field values to generate auto references

Product dynamic code (manufacturer example)

Apply static code parts based on products filtering

Static rules in product coding

Code rule with filtering by categories

Product category rule for references

Product automatic reference (example)

Example of auto product code update

Automatic generation of codes

Product references are updated regularly.
For certain product templates and variants you can switch the auto update off. If you mark items as 'Manual reference': their codes will be not generated by rules. References become editable for such products and should be updated by users.

When product references are updated

Codes are updated in the following cases:

  • When a product is created or updated
  • Regularly by the cron job for all products (have a look a the tab 'Configuration', the section 'Scheduled jobs')
  • Manually when you push the button on a product form
  • Manually for all products when you push the button on the configuration page

Why the logic is so complex? To avoid slowdowns. The point is that codes rules are advanced and there is no way to define recalculation triggers. Generating codes on fly would result in low performance. That is why to make sure codes are generated, Odoo regularly look over all products.


Exclude products from reference automatic updates

Manual code for products

Coding relies upon standard Odoo tools

Codes are calculated in a current user language (cron jobs are done under Odoo SuperUser). Try to avoid using translated fields in codes generation.
Product coding is global: rules are applied to each company in the same way. Simultaneously, you can restrict products in rules by using filters by company.
The right to define product coding rules belongs only to Odoo administrators.

Configuration and Installation Tips for Product Dynamic Codes Odoo v.12

Scheduled jobs

Scheduled jobs

You may change the frequency of automatic references' updates. To this end:
  1. Turn on debug mode
  2. Go to technical settings > Automation > Scheduled jobs
  3. Find the job 'Construct Dynamic Codes'

Frequently Asked Questions about Product Dynamic Codes Odoo v.12

According to the current Odoo Apps Store policies:

  • every module bought for the version 12.0 and prior gives you an access to the all versions up to 12.0.
  • starting from the version 13.0, every version of the module should be purchased separately.
  • disregarding the version, purchasing a tool grants you a right for all updates and bug fixes within a major version.

Take into account that Odoo Tools team does not control those policies. By all questions please contact the Odoo Apps Store representatives directly.

The easiest approach is to use the Odoo store built-in workflow:

1. Open the module’s page and click the button Deploy on

2. After that, you will be redirected to the GitHub page. Login to your account and click ‘Create a new repo’ or use the existing one. Please, make sure, that your repository is private. It is not permitted to publish the apps under the OPL-1 license. If necessary, create a new repo for your project

3. Then, go to and click on the deploy button, submit the decision in the pop-up window and click ‘Continue’. The action will trigger the installation process.

These steps would install the app for your project production branch. If you wanted to deploy the apps for other branches or update the module, you should undertake the following actions:

1. Upload the source code for the app from the Odoo store

2. Commit the module to a required GitHub repository. Make sure that none of the app folders/files are ignored (included in the .gitignore of your repo). Repositories are automatically created by, which might add by default some crucial items there (e.g. /lib). You should upload all module directories, subdirectories, and files without exceptions

3. Deploy a target branch of the project or wait until it is automatically built if your settings assume that.

  1. Unzip source code of purchased tools in one of your Odoo add-ons directory

  2. Re-start the Odoo server

  3. Turn on the developer mode (technical settings)

  4. Update the apps' list (the apps' menu)

  5. Find the app and push the button 'Install'

  6. Follow the guidelines on the app's page if those exist.

Yes, sure. Take into account that Odoo automatically adds all dependencies to a cart. You should exclude previously purchased tools.

Regretfully, we do not have a technical possibility to provide individual prices.

Yes, all modules marked in dependencies are absolutely required for a correct work of our tool. Take into account that price marked on the app page already includes all necessary dependencies.  

No, third party apps can not be used on Odoo Online.

Red / orange warning itself does not influence features of the app. Regretfully, sometimes our modules do not pass standard automatic tests, since the latter assumes behavior which is in conflict with our apps goals. For example, we change price calculation, while standard Odoo module tests compare final price to standard algorithm.

So, first of all, please check deployed database features. Does everything work correctly?

If you still assume that warning influences real features, please contact us and forward full installation logs and the full lists of deployed modules (including core and third party ones).

Odoo demonstration databases (live previews)

For this app we might provide a free personalized demo database.

No phone number or credit card are required to contact us: only a short email sign up which does not take more than 30 seconds.

By your request we will prepare an individual live preview database, where you would be able to apply any tests and to check assumptions during 14 days.

Bug reporting

In case you have faced any bugs or inconsistent behavior, do not hesitate to contact us. We guarantee to provide fixes during 60 days after a purchase, while even after this period we are strongly interested to improve our tools.

No phone number or credit card are required to contact us: only a short email sign up which does not take more than 30 seconds.

Please include in your request as many details as possible: screen shots, Odoo server logs, full description of how to re-produce your problem, and so on. Usually it takes a few business days to prepare a working plan by an issue (if a bug is confirmed) or provide you with guidelines what should be done (otherwise).

Public features request and module ideas (free development)

We are strongly motivated to improve our tools and would be grateful for any sort of feedback. In case your requirements are of public use and might be efficiently implemented, the team would include those into our to-do list.

Such to-do list is processed on a regular basis and does not assume extra fees. Altough we cannot promise deadlines and final design, it might be a good way to get desired features without investments and risks.

No phone number or credit card are required to contact us: only a short email sign up which does not take more than 30 seconds.

New features and extra Odoo services (individual development)

Each of our apps might be customized and extended to suit your specific requirements.

Our customization team fulfills not only such jobs but it also provides a full range of Odoo services. From simple modifications and consultations to complex enterprise projects. The team has completed over 100 implementations since 2012, and might help with any technical or business needs.

No phone number or credit card are required to contact us: only a short email sign up which does not take more than 30 seconds.

You may also like the tools
Product Management Interface

The tool to search, select and mass update product templates

Stock Demand Trends and Forecast

The tool to calculate stock demand trends and make prediction for future demand statistically. Stock Forecast

Advanced Variant Prices

The tool to configure variant prices based on attributes coefficients and surpluses

Stocks Access Rules

The tool to restrict users' access to stocks, locations and warehouse operations

Vendor Product Management

The tool to administrate vendor data about products, prices and available stocks

Stocks by Locations

The tool to make inventory data essential and comfortable for elaboration

KnowSystem: Knowledge Base System

The tool to build deep and structured knowledge base for internal and external use. Knowledge System. KMS

298€ 268€
Google Drive Odoo Integration

The tool to automatically synchronize Odoo attachments with Google Drive files in both ways

394€ 354€
Universal Appointments and Time Reservations

The tool for time-based service management from booking appointment to sale and reviews

399€ 359€