Product variants
Standard Odoo workflow. Also read the KMEE procedure for the Brazilian modules.
Product variants are used to give single products a variety of different characteristics and options for customers to choose from, such as size, style, or color, just to name a few.
Products variants can be managed via their individual product template, or by navigating to either the Product Variants or Attributes page. All of these options are located within the Odoo Sales application.
See also
Product variants
Configuration
To use product variants, the Variants setting must be activated in the Odoo Sales application.
To do that, go to Sales app -> Configuration -> Settings, and locate the Product Catalog section at the top of the page.
In that section, check the box to enable the Variants feature.

Then, click Save at the top of the Settings page.
Attributes
Before product variants can be set up, attributes must be created. To create, manage, and modify attributes, navigate to Sales app -> Configuration -> Attributes.
To create a new attribute from the Attributes page, click New. Doing so reveals a blank attributes form that can be customized and configured in a number of ways.

First, create an Attribute Name, such as Color or Size.
Next, in the optional Category field, select a category from a drop-down menu to group similar attributes under the same section for added specificity and organization.
Beneath the Category field are the Display Type options. The Display Type determines how this product is shown on the online store, Point of Sale dashboard, and Product Configurator.
The Display Type options are:
- Radio: options appear in a bullet-style list on the product page of the online store.
- Pills: options appear as selectable buttons on the product page of the online store.
- Select: options appear in a drop-down menu on the product page of the online store.
- Color: options appear as small, colored squares, which reflect any HTML color codes set, on the product page of the online store.

The Variants Creation Mode field informs Odoo when to automatically create a new variant once an attribute is added to a product.
- Instantly: creates all possible variants as soon as attributes and values are added to a product template.
- Dynamically: creates variants only when corresponding attributes and values are added to a sales order.
- Never (option): never automatically creates variants.
Lastly, the eCommerce Filter Visibility field determines whether these attribute options are visible to the customer on the front-end, as they shop on the online store.
- Visible: the attribute values are visible to customers on the front-end.
- Hidden: the attribute values are hidden from customers on the front-end.
Attribute values
Attribute values should be added to the Attribute Values tab. Values can be added to an attribute at any time, if needed.
To add a value, click Add a line in the Attribute Values tab.
Then, enter the name of the value in the Value column. Next, check the box in the Is custom value column, if the value is custom (i.e. the customer gets to provide unique specifications that are specific to this particular value).
Once an attribute is added to a product, that product is listed and accessible, via the attribute's Related Products smart button. That button lists every product in the database currently using that attribute.
Product variants
Once an attribute is created, use the attribute (and its values) to create a product variant. To do that, go to Sales app -> Products -> Products, and select an existing product to view that desired product's form. Or, click Create to create a new product, to which a product variant can be added.
On the product form, click the Attributes & Variants tab to view, manage, and modify attributes and values for the product.

To add an attribute to a product, and subsequent attribute values, click Add a line in the Attributes & Variants tab. Then, choose the desired attribute from the drop-down menu that appears.
Once an attribute is selected in the Attribute column, proceed to select the specific attribute values to apply to the product, via the drop-down menu available in the Values column.
Configure variants
To the far-right of the attribute line is a Configure button. When clicked, Odoo reveals a separate page showcasing those specific Product Variant Values.

Here, the specific Value name, HTML Color Index (if applicable), and Value Price Extra are viewable.
When a value is clicked on the Product Variant Values page, Odoo reveals a separate page, detailing that value's related details.

On the specific product variant detail page, the Value and Value Price Extra fields can be found, along with an Exclude for field.
In the Exclude for field, different Product Templates and specific Attribute Values can be added. When added, this specific attribute value will be excluded from those specific products.
Variants smart button
When a product has attributes and variants configured in its Attributes & Variants tab, a Variants smart button appears at the top of the product form. The Variants smart button indicates how many variants are currently configured for that specific product.

When the Variants smart button is clicked, Odoo reveals a separate page showcasing all the specific product variant combinations configured for that specific product.

Impact of variants
In addition to offering more detailed product options to customers, product variants have their own impacts that can be taken advantage of throughout the Odoo database.
-
Barcode: barcodes are associated with each variant, instead of the product template. Each individual variant can have its own unique barcode/SKU.
-
Price: every product variant has its own public price, which is the sum of the product template price and any extra charges for particular attributes.
-
Inventory: inventory is counted for each individual product variant. On the product template form, the inventory reflects the sum of all variants, but the actual inventory is computed by individual variants.
-
Picture: each product variant can have its own specific picture.
See also