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!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
custom layout qweb report odoo 12
Вирішено
|
|
2
бер. 24
|
2286 | |
|
2
жовт. 22
|
5543 | ||
|
1
лют. 22
|
2692 | ||
Pdf report is generated empty
Вирішено
|
|
1
серп. 21
|
4165 | |
|
2
бер. 21
|
3705 |