Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Storage Thumbnail
Entity: thumbnail.mixin
Compute Method: _compute_thumb_urls
| Inputs | Method | Outputs |
|---|---|---|
|
+ for backend, records in tools.groupby(self, lambda x: x.backend_id): + url_fname = "url" + if backend.backend_view_use_internal_url: + url_fname = "internal_url" + for rec in records: + rec.image_medium_url = rec.thumb_medium_id[url_fname] + rec.image_small_url = rec.thumb_small_id[url_fname] |
|
