Repository
OCA/product-variant · module folder · Try on Runboat
Module version
1.0
Category
Sales Management
Folder size
0.13 MB
License
AGPL-3
Application
Yes
Auto-installable
No
Website
None
Last tracking update
2026-08-07 07:03:09
Authors
OpenERP SA, Akretion, Odoo Community Association (OCA)
Maintainers
OpenERP SA, Akretion, Odoo Community Association (OCA)
Committers
Raphaël Valyi, Stéphane Bidoul, Stéphane Bidoul (ACSONE)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
product_variant_multi_advanced
Description
Multi-axial varianted product support for OpenERP
=================================================

OpenERP is already supporting a product variants at the core level. But
without this module, variants are only mono-axial. OpenERP indeed uses the product.template
as the model object and the product.variant as the instance variant.
Using this module, you can now easily deal with multi-axial variants.

A product.template, now has a set of dimensions (like Color, Size, anything you want).
For each dimension, a product.template has a set of dimension values (like Red, Green
for the Color dimension). For each dimension, you can accept or not custom dimension
values. Dimensions can be shared between products.

Once the product.template is set up, you can use a 'generator' button that will populate
the space of the variants. You could also choose to populate only some combinations
by hand instead.

Each variant can have an extra price that will be taken into account when computing
the base listed price. Yet to be implemented: a price extra per variant dimension value.
Finally, this module is better used along with the product_variant_configurator which
will help the salesman selecting the appropriate variant in the sale order line
using dimension criteria instead of having to crawl the full space of variants.
The selection can also be done by name if a proper naming convention is adopted.

Gotchas:
Because many OpenERP reports refer only to the product name without taking care of the
variant, we decided it's better that each variant has a different name expliciting
the variant specifics. So we override the product.template#name field and make it
optional while product.product now has a new mandatory name field. This is usualy
transparent as OpenERP modules try to get their properties like name from product.product
and only from product.template if not found on product.product. But at least you
will have been warned.
    

Code Analysis

Views touched (15)
XML IDNameModelTypeStatus
product_normal_variant_form_view product.normal.variant.form product.product form Inherits product.product_normal_form_view
product_search_form_view_template product.search.form.template product.template search New
product_search_form_view_variants product.search.form.variants product.product form Inherits product.product_search_form_view
product_variant_form_view product.variant.form product.product form New
product_variant_multi_dimension_option_form product.variant.multi.dimension.option.form product.variant.dimension.option form New
product_variant_multi_dimension_option_seach product.variant.multi.dimension.option.search product.variant.dimension.option search New
product_variant_multi_dimension_option_tree product.variant.multi.dimension.option.tree product.variant.dimension.option tree New
product_variant_multi_dimension_type_form product.variant.multi.dimension.type.form product.variant.dimension.type form New
product_variant_multi_dimension_type_search product.variant.multi.dimension.type.search product.variant.dimension.type search New
product_variant_multi_dimension_type_tree product.variant.multi.dimension.type.tree product.variant.dimension.type tree New
product_variant_multi_dimension_value_form product.variant.multi.dimension.value.form product.variant.dimension.value form New
product_variant_multi_dimension_value_search product.variant.multi.dimension.value.search product.variant.dimension.value search New
product_variant_multi_dimension_value_tree product.variant.multi.dimension.value.tree product.variant.dimension.value tree New
product_variant_multi_product_template_form_view product.variant.multi.product.template.form product.template form Inherits product.product_template_form_view
product_variant_tree_view product.variant.tree product.product tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (0)

No models found for this module.

Loading…

Loading…