First of all, you need to check whether the necessary settings are enabled in the Odoo system. To do this, go to "Settings" - "Warehouse".
Check if there is a check mark next to the "Options" setting:
To create a product variant, you need to create a corresponding attribute. To do this, go to the "Warehouse" - "Settings" - "Attributes" module:
Create a new attribute. Specify the name of the attribute. For example, color. It is important that the option creation mode must be selected "instantly":
Below are the possible values of the attribute:
Next, in the product settings, in the "Attributes and Variants" tab, we specify the existing variants of this product:
After saving the changes, two available options will be displayed in the product card:
In the future, warehouse accounting will be carried out in terms of product variants. It will also be necessary to indicate a specific product variant in the documents.
Attributes can also be created directly in the product card: