Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Product Class

Entity: product.attribute

Compute Method: _compute_classes_count

Inputs Method Outputs
for attribute in self:
            attribute.classes_count = len(attribute.class_attribute_line_ids.class_id)

Back to entity