Hello,
I'm trying to show partner avatar (field image) in a report. The field is saved in base64 jpeg, then in my report template I put:
<t t-if="doc.image">
<img t-att-src="'data:image/jpeg;base64,%s' % doc.image"/>
</t>
But the image does not appears in the report. I can export it ("/9j/4AAQSkZJRgABAQ etc."). If I put this image as a fix code (<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ etc."/> it works.
I don't understand where is the problem.
Could you help me?
Thanks