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.template.attribute.line

Compute Method: _compute_value_count

Inputs Method Outputs
for record in self:
            record.value_count = len(record.value_ids)

Back to entity