Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Multiple images base

Entity: base_multi_image.image

Compute Method: _compute_image

Inputs Method Outputs
"""Get image data from the right storage type."""
for s in self:
            s.image_1920 = getattr(s, f"_get_image_from_{s.storage}")()

Back to entity