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

View 19.0
Inputs Method Outputs
  • attribute_ids
  • parent_id
+ 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
  • complete_attribute_ids

Back to entity