I use
```
<img t-if="o.visitor.visitor_image" t-att-src="'data:image/png;base64,%s' % o.visitor.visitor_image" height="120" border="1" width="120"/>
```
but still my image not show in Qweb PDF report
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I use
```
<img t-if="o.visitor.visitor_image" t-att-src="'data:image/png;base64,%s' % o.visitor.visitor_image" height="120" border="1" width="120"/>
```
but still my image not show in Qweb PDF report
Hi Usman,
Try following code:
<img t-if="o.visitor.visitor_image" t-att-src="'data:image/png;base64,%s' % o.visitor.visitor_image"/>
<img t-if="o.visitor.visitor_image" t-att-src="'data:image/png;base64,%s' % to_text(o.visitor.visitor_image)" height="120" border="1" width="120"/>
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
custom layout qweb report odoo 12
Resuelto
|
|
2
mar 24
|
2184 | |
|
2
oct 22
|
5483 | ||
|
1
feb 22
|
2646 | ||
Pdf report is generated empty
Resuelto
|
|
1
ago 21
|
4114 | |
|
2
mar 21
|
3647 |