Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 13.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

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

Odoo dependencies
OCA/product-variant:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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

New fields (1)
  • has_pending_variants Boolean
    compute='_compute_pending_variants' string='Has pending variants?'
Public methods (0)

No public methods.

New fields (3)
  • line_ids One2many → wizard.product.variant.configurator.manual.creation.line
    comodel_name='wizard.product.variant.configurator.manual.creation.line' inverse_name='wizard_id' required=False string='Lines'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' readonly=True string='Template'
  • variants_to_create Integer
    compute='_compute_variants_to_create'
Public methods (2)
  • action_create_variants(self)
    Create variant of product based on selected attributes values in wizard
  • default_get(self, fields_list)
    @api.model

New fields (5)
  • attribute_id Many2one → product.attribute
    comodel_name='product.attribute' required=False string='Attribute'
  • attribute_value_ids Many2many → product.attribute.value
    column1='wizard_line_id' column2='value_id' comodel_name='product.attribute.value' relation='rel_wizard_line_manual_creation_attributes_values' string='Values'
  • required Boolean
    required=False string='Required?'
  • selected_value_ids Many2many → product.attribute.value
    column1='wizard_line_id' column2='value_id' comodel_name='product.attribute.value' relation='rel_wizard_line_manual_creation_selected_attributes_values' string='Selected Values'
  • wizard_id Many2one → wizard.product.variant.configurator.manual.creation
    comodel_name='wizard.product.variant.configurator.manual.creation' required=False string='Wizard'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…