Product Variant Multi
product_variant_multi · OCA/product-variant
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
product_variant_multi_dimension_option_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (4 occurrences in this file) migration-view-tree-tag · sourceproduct_variant_multi_product_template_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- product_variant_multi_advanced
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 15
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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…