OdooWiki OCA HUB

Sale product set variant

sale_product_set_variant folder_open OCA/sale-workflow open_in_new
Sale License: AGPL-3

Extension of the Sale Product set module to make it work with variants.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Lets you build product sets (kits) using product templates and specific variants, then add them to a sale order with the exact variants chosen.

This module extends the Sale Product Set feature so that a set can be defined at the level of a product template and its variants, instead of only a single product.

  • On a product set, each line now shows a Product Template and a Variant field. The old single-product field is hidden. You pick the template, then choose one or more variants of it.
  • When you use the "Add set" wizard on a sale order, the wizard shows the set lines with template, variants and quantity. If a template has only one variant, it is filled in automatically; if it has several, you must choose the variants yourself.
  • If you try to add a set line whose template has several variants but none selected, Odoo stops you with an error asking you to select the appropriate variants.
  • For each selected variant, a separate sale order line is created, with the quantity multiplied by the wizard quantity, the variant's unit of measure, and the line sequence taken from the set line.
  • The module touches product.set.line, product.set.add and a new wizard line model product.set.add.line, and adds fields to the product set form and the add-set wizard.
Models and fields (3)
  • product.set.add · extends an existing modelset_line_ids (Products), product_set_id
  • product.set.line · extends an existing modelproduct_id, product_template_id (Product Template), product_variant_ids (Variant)
  • product.set.add.line · new modelwiz_id, quantity (Quantity), sequence (Sequence), product_set_id (Set), source_line_id, product_template_id (Product Template), product_variant_ids (Products)

Text generated by AI (DeepSeek) from reading the Odoo 12.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 12.0
  • Activate product variants in Sale -> settings
  • Create a product set from Sales -> Sales -> Product Set
  • On the set specify product variants for templates (optional) and quantity
  • Create a sale order
  • Press the "Add set" button
  • Select a set, choose the multiplier for the quantities
  • Select Variants if they were not selected before (required)
  • Press "Add set"

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.