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"/>
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld digRelated Posts | Besvarelser | Visninger | Aktivitet | |
---|---|---|---|---|
|
2
mar. 24
|
2283 | ||
|
2
okt. 22
|
5541 | ||
|
1
feb. 22
|
2689 | ||
|
1
aug. 21
|
4165 | ||
|
2
mar. 21
|
3704 |