Skip to main content

Create product references according to attributes

Project description

License: AGPL-3

Product Code Builder

This module creates a Internal Reference (default_code) from values in variant’s attributes.


Create code with attributes (like memory, color, wifi).

Attributes order is preserved while code creation.


Try me on Runbot


  • Set ‘code’ field in attributes and attributes values models for code creation.
  • Set sequence in attribute model to defined product varaiant code attribute order.

  • Automatic Reference behavior can be turn off by uncheck on product template.
  • Internal Reference Prefix can be defined on product template.


This module may be not compatible with other modules which manage default_code like product_sequence

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Known issues / Roadmap

MIGRATION INSTRUCTION: Some fields in this module are the same than those in product_attribute_priority module. For v10 or v9, it’s required to add dependency between these modules.




Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo8-addon-product-code-builder, version
Filename, size & hash File type Python version Upload date
odoo8_addon_product_code_builder- (132.6 kB) View hashes Wheel py2

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page