I am creating an intermediate abstract model for the purpose of rendering a report. It's a mirror of a product record with a couple of fields overridden. I don't want those overridden fields written to the database, hence the abstract model.
Everything works except the product image. While the image worked fine when the report looked at the real product record, when using this report model the image simply fails to render with no errors in the logs.
The code for reference:
```
class ReportViewModel(models.AbstractModel):
_name = 'report.product_catalog.report_view_model'
_description = 'model for rendering catalog'
image_128 = fields.Image("Image 128", store=False)
...
def populate(self, rec):
product = rec.product_tmpl_id.product_variant_id
self.image_128 = product.image_128
...
```
Any insight appreciated.