Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5851 มุมมอง

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"/>

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
custom layout qweb report odoo 12 แก้ไขแล้ว
2
มี.ค. 24
2568
2
ต.ค. 22
5731
1
ก.พ. 22
2852
Pdf report is generated empty แก้ไขแล้ว
1
ส.ค. 21
4340
2
มี.ค. 21
3877