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"/>
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
custom layout qweb report odoo 12
Diselesaikan
|
|
2
Mar 24
|
2207 | |
|
2
Okt 22
|
5492 | ||
|
1
Feb 22
|
2654 | ||
Pdf report is generated empty
Diselesaikan
|
|
1
Agu 21
|
4118 | |
|
2
Mar 21
|
3661 |