Skip to content
Health
47/100
poor
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 23 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.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 2 models 1 view 0 HTTP endpoints

Description

In standard Odoo there is no way to change the attribute values assigned to a product variant.

This module adds a wizard to change or remove attribute values on all product variant selected.

When an attribute value is removed from all variants of a template, it will also be removed from the configuration of the template.

Dependencies

Odoo dependencies
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 1

XML IDNameModelTypeStatus
view_product_variant_update_attribute_wizard Product Variant Update Attribute variant.attribute.value.wizard form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (5)
  • attribute_action Selection
    default='do_nothing' required=True selection='_selection_action'
  • attribute_id Many2one → product.attribute
    comodel_name='product.attribute' ondelete='cascade' related='product_attribute_value_id.attribute_id' store=True
  • product_attribute_value_id Many2one → product.attribute.value
    comodel_name='product.attribute.value' ondelete='cascade'
  • replaced_by_id Many2one → product.attribute.value
    comodel_name='product.attribute.value' domain="[('id', 'in', selectable_attribute_value_ids)]" ondelete='cascade' string='Replace with'
  • selectable_attribute_value_ids Many2many → product.attribute.value
    comodel_name='product.attribute.value' compute='_compute_selectable_attribute_value_ids'
Public methods (0)

No public methods.

New fields (7)
  • attribute_value_ids Many2many → product.attribute.value
    comodel_name='product.attribute.value'
  • attributes_action_ids Many2many → variant.attribute.value.action
    comodel_name='variant.attribute.value.action' relation='variant_attribute_wizard_attribute_action_rel'
  • available_attribute_ids Many2many → product.attribute
    comodel_name='product.attribute'
  • filter_attribute_id Many2one → product.attribute
    comodel_name='product.attribute' domain="[('id', 'in', available_attribute_ids)]"
  • product_ids Many2many → product.product
    comodel_name='product.product'
  • product_template_count Integer
    readonly=True
  • product_variant_count Integer
    readonly=True
Public methods (2)
  • action_apply(self)
  • default_get(self, fields_list)
    @api.model

Loading…