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

View 18.0
Inputs Method Outputs
  • video_url
- for image in self:
-             image.embed_code = get_video_embed_code(image.video_url) or False
  • embed_code

Back to entity