Product Variant Configurator
(0)
358

Product Variant Configurator

FREE

Required apps
Products & Pricelists (product)
Technical name
product_variant_configurator
License
AGPL-3
Secure dependencies
N/A
Product Variant Configurator

Product Variant Configurator

Beta License: AGPL-3 OCA/product-variant Translate me on Weblate Try me on Runboat

Provides an abstract model for product variant configuration. It provides the basic functionality for presenting a table with the attributes of a template and the possibility to select one of the valid values. You can try this functionality creating a product variant directly selecting a product template that has attributes.

This module also prevents in a configurable way the creation of the product variants when defining the attributes and attribute values of the product template.

Table of contents

Configuration

(after installing sale_management application)

To configure the creation of the variants behaviour, you need to:

  1. Go to Sales > Configuration > Settings, and select “Attributes and Variants (Set product attributes (e.g. color, size) to sell variants)” on “Product Catalog” section.
  2. Go to Sales > Catalog > Products, and select a product.
  3. On the Variants tab edit the value of the field Variant Creation.
  4. If you want to stop the automatic creation of the variant, and have the same behaviour for all the products in the same category, go to Inventory > Configuration > Product Categories, select the category and check the checkbox Don't create variants automatically.

Usage

(after installing sale_management application)

  1. Go to Sales > Catalog > Product Variants.
  2. Click on “Create” button for creating a new one.
  3. On the field “Product Template”, select a product template that has several attributes.
  4. A table with the attributes of the template will appear below.
  5. Select all the attribute values and click on “Save” button.
  6. A new product variant will be created for that attributes.
  7. An error will raise if there’s another variant with the same attribute values or if you haven’t filled all the required values.

Developers

To use product configurator in your model, you need to:

  1. The product.configurator is an abstract model, hence, to be used it must be inherited in your model:
  2. If the model you’re inheriting has name attribute, and it uses the related parameter you must override it.
class AModel(models.Model):
    _inherit = ['module.model', 'product.configurator']
    name = fields.Char(related="delegated_field.related_field")

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 to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • AvanzOSC
  • Tecnativa
  • ACSONE SA/NV

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

This module is part of the OCA/product-variant project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

0.0 / 5.0
based on 0 ratings
This app does not use any external Python dependencies.
This app has automated tests.

Available languages

Language % translated
Italian / Italiano
63%
Croatian / hrvatski jezik
46%
Romanian / română
19%
Croatian / hrvatski jezik
19%
Slovenian / slovenščina
19%
Portuguese (BR) / Português (BR)
19%
French / Français
19%
Spanish (MX) / Español (MX)
17%
Arabic / الْعَرَبيّة
17%
Chinese (Simplified) / 简体中文
17%
German / Deutsch
17%
French (CH) / Français (CH)
17%
Turkish / Türkçe
17%
Finnish / Suomi
17%
Bosnian / bosanski jezik
14%
Portuguese / Português
14%
Estonian / Eesti keel
14%
Spanish (CO) / Español (CO)
14%
Chinese (Traditional) / 繁體中文
14%
Persian / فارس
14%
Spanish (DO) / Español (DO)
14%
Serbian (Latin) / srpski
14%
Macedonian / македонски јазик
14%
Polish / Język polski
14%
Spanish / Español
14%
Hungarian / Magyar
14%
Spanish (VE) / Español (VE)
14%
Japanese / 日本語
14%
Dutch (BE) / Nederlands (BE)
14%
Norwegian Bokmål / Norsk bokmål
14%
Vietnamese / Tiếng Việt
14%
Bulgarian / български език
14%
Dutch / Nederlands
14%
Indonesian / Bahasa Indonesia
14%
Slovak / Slovenský jazyk
14%
Spanish (PE) / Español (PE)
14%
Ukrainian / українська
14%
Spanish (EC) / Español (EC)
14%
Thai / ภาษาไทย
14%
Swedish / Svenska
14%
Mongolian / монгол
14%
Hebrew / עִבְרִי
14%
Spanish / Español
14%
Spanish (CL) / Español (CL)
14%
English (UK)
14%
Portuguese / Português
14%
Spanish (AR) / Español (AR)
14%
Turkish / Türkçe
14%
Vietnamese / Tiếng Việt
12%
French (CA) / Français (CA)
12%
Greek / Ελληνικά
10%
Spanish (CR) / Español (CR)
10%
Latvian / latviešu valoda
10%
Dutch / Nederlands
10%
Lithuanian / Lietuvių kalba
10%
Lithuanian / Lietuvių kalba
10%
Spanish (PY) / Español (PY)
10%
Russian / русский язык
10%
Galician / Galego
2%
Galician / Galego
2%