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

Module: Attribute Set

Entity: attribute.set

Compute Method: _compute_complete_attribute_ids

Inputs Method Outputs
for rec in self:
            attributes = rec.attribute_ids
            parent = rec.parent_id
            while parent:
                attributes |= parent.attribute_ids
                parent = parent.parent_id
            rec.complete_attribute_ids = attributes

Back to entity