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_512

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

Back to entity