OdooWiki OCA HUB

Product Variant Inactive

product_variant_inactive folder_open OCA/product-variant open_in_new
Product License: AGPL-3

This module was written to extend the functionality of Product Variants and allow you to make activate or deactivate products using the two buttons.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

This module lets you deactivate individual product variants and prevents reactivating variants whose combination was deleted. It adds an 'Inactive variants' count and a toggle to activate/deactivate variants directly from the product form.

With this module, you can manage the active status of each product variant separately. On a product template form, a new field shows the total number of variants, including inactive ones, and the button to view variants is only shown when there is more than one variant. In the variant list, the active toggle is visible, and inactive variants appear greyed out.

When you delete a variant, it is not permanently removed; instead, it is archived and marked as a 'deleted combination'. Such variants cannot be reactivated, and a check prevents you from turning them active again. A filter in the variant search view lets you find these deleted combinations.

The module also adjusts how variants are created and updated: when a template is reactivated, its variants are not automatically reactivated if they were previously deleted. The variant action window is modified to show all variants, including inactive ones, but excludes deleted combinations by default.

These changes affect the product.template and product.product models and are visible in the product form, variant list, and search views.

Depends on

product
Models and fields (2)
  • product.product · extends an existing modelcombination_deleted
  • product.template · extends an existing modelactive, product_variant_count_all (Inactive variants)

Text generated by AI (DeepSeek) from reading the Odoo 14.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/product-variant.

terminal Installation and usage

OCA documentation · Odoo 14.0

To use this module, you need to Product menu (Product Template)

On Variant tab, click on the button 'List of variants'

You can now activate or deactivate variants with button on the right side

No verified information in OCA: Installation, Configuration.

info

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.