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_1024

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

Back to entity