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

Module: eCommerce

Entity: product.image

Compute Method: _compute_has_attribute_value

Inputs Method Outputs
for image in self:
            image.has_attribute_value = bool(image.attribute_value_ids)

Back to entity