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_embed_code

Inputs Method Outputs
for image in self:
            image.embed_code = image.video_url and get_video_embed_code(image.video_url) or False

Back to entity