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.owner

Compute Method: _compute_multi_image

View 18.0
Inputs Method Outputs
  • image_ids
- """Get the main image for this object.
- 
-         This is provided as a compatibility layer for submodels that already
-         had one image per record.
-         """
- for s in self:
-             first = s.image_ids[:1]
-             s.image_1920 = first.image_1920
  • image_1920

Back to entity