Product Import Autocomplete Attribute
product_import_autocomplete_attribute · OCA/product-attribute
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
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.18 MB
Module directory on disk
Code analysis
0 migration notes
2 models
0 views
0 HTTP endpoints
Description
This module updates the attribute lines of product templates when importing product variants.
Natively, product template attribute values are synced from the template to its variants, but the reverse is not true:
- the base method
product_template.create_variant_ids()uses the template attributes to create the variants (template -> variant) - this module uses the attributes of the imported variants to update the attribute values of the linked template (variant -> template)
Dependencies
- Odoo dependencies
- 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 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
attribute_value_idsMany2many → product.attribute.valuecompute='_compute_attribute_value_ids'readonly=False args: 'product.attribute.value'
-
create(self, list_vals)@api.model_create_multi
New fields (0)
No new fields.
Public methods (1)-
update_attribute(self, values)