Product Variant Configurator Manual Creation
product_variant_configurator_manual_creation · OCA/product-variant
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Description
Provides wizard to make variants on demand
When you create product with option "Variant creation" as "Don't create automatically" and add product attributes, at that time one button will be visible in product template "Create Pending Variants"
When you click on it, it will open one wizard with lines of available attributes, you can select attributes values to create its variant and click on create variants.
It will create variants for selected attributes values.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view |
product.template.form.view | product.template | form | Inherits product.product_template_form_view |
wizard_product_variant_configurator_manual_creation_view_form |
wizard_product_variant_configurator_manual_creation_view_form | wizard.product.variant.configurator.manual.creation | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
has_pending_variantsBooleancompute='_compute_pending_variants'string='Has pending variants?'
No public methods.
-
line_idsOne2many → wizard.product.variant.configurator.manual.creation.linecomodel_name='wizard.product.variant.configurator.manual.creation.line'inverse_name='wizard_id'required=Falsestring='Lines' -
product_tmpl_idMany2one → product.templatecomodel_name='product.template'readonly=Truestring='Template' -
variants_to_createIntegercompute='_compute_variants_to_create'
-
action_create_variants(self)Create variant of product based on selected attributes values in wizard -
default_get(self, fields_list)@api.model
-
attribute_idMany2one → product.attributecomodel_name='product.attribute'required=Falsestring='Attribute' -
attribute_value_idsMany2many → product.attribute.valuecolumn1='wizard_line_id'column2='value_id'comodel_name='product.attribute.value'relation='rel_wizard_line_manual_creation_attributes_values'string='Values' -
requiredBooleanrequired=Falsestring='Required?' -
selected_value_idsMany2many → product.attribute.valuecolumn1='wizard_line_id'column2='value_id'comodel_name='product.attribute.value'relation='rel_wizard_line_manual_creation_selected_attributes_values'string='Selected Values' -
wizard_idMany2one → wizard.product.variant.configurator.manual.creationcomodel_name='wizard.product.variant.configurator.manual.creation'required=Falsestring='Wizard'
No public methods.
Loading…
Loading…
Loading…