Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Products & Pricelists
Entity: product.product
Compute Method: _compute_import_attribute_values
| Inputs | Method | Outputs |
|---|---|---|
|
+ for product in self: + product.import_attribute_values = ','.join(sorted( + f'{ptav.attribute_line_id.attribute_id.name}:{ptav.product_attribute_value_id.name}' + for ptav in product.product_template_attribute_value_ids + )) |
|
