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"/>
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
2
3月 24
|
2276 | ||
|
2
10月 22
|
5531 | ||
|
1
2月 22
|
2680 | ||
|
1
8月 21
|
4163 | ||
|
2
3月 21
|
3691 |