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.attribute
Compute Method: _compute_allowed_attribute_set_ids
| Inputs | Method | Outputs |
|---|---|---|
|
|
+ AttributeSet = self.env["attribute.set"] + for record in self: + allowed_models = record._get_attribute_set_allowed_model() + record.allowed_attribute_set_ids = AttributeSet.search( + [("model_id", "in", allowed_models.ids)] + ) |
|
