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.product

Compute Method: _compute_image_128

Inputs Method Outputs
"""Get the image from the template if no image is set on the variant."""
for record in self:
            record.image_128 = record.image_variant_128 or record.product_tmpl_id.image_128

Back to entity