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

Compute Method: _compute_is_dynamically_created

View 19.0
Inputs Method Outputs
  • attribute_line_ids
+ for template in self:
+             template.is_dynamically_created = any(
+                 line.attribute_id.create_variant == 'dynamic'
+                 for line in template.attribute_line_ids
+             )
  • is_dynamically_created

Back to entity