Product Variant Change Attribute Value
In standard Odoo there is no way to change the attribute values assigned to a product variant.
This module adds a wizard to change or remove attribute values on all product variant selected.
When an attribute value is removed from all variants of a template, it will also be removed from the configuration of the template.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets you change or remove attribute values on several product variants at once from the product list. When a value is no longer used by any variant, it is also removed from the product template configuration.
This module adds a wizard that opens from the product variant list (the action is available on the selected products). It shows how many variants and product templates are affected.
In the wizard you can filter by one attribute and then, for each attribute value, choose an action: Do Nothing, Replace or Delete. When you choose Replace, you pick the replacement value; when you choose Delete, the value is removed from the selected variants.
After you press Apply, the module updates each variant's attribute values. If a value is no longer used by any variant of the same product template, it is also removed from the template's attribute configuration. If removing a value would make the product template lose its uniqueness (for example, two variants would become identical), the module blocks the change and shows an error message.
If deleting a value makes a variant identical to another selected variant, the module tries to remove the duplicate variant. If either variant is already used in sales orders, invoices, purchase orders, stock moves or similar documents, the deletion is refused with an error.
The wizard is available for users with access to products; only system administrators can create or modify the wizard records.
Depends on
Models and fields (2)
- variant.attribute.value.action · new modelattribute_id, replaced_by_id (Replace with), attribute_action, product_attribute_value_id, selectable_attribute_value_ids
- variant.attribute.value.wizard · new modelproduct_ids, attribute_value_ids, filter_attribute_id, attributes_action_ids, product_variant_count, product_template_count, available_attribute_ids
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/product-variant.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0The wizard can be access from the product variant tree view through the context action menu Change attribute values assigned
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.