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

How can i preview the attached files like pdf/docs in a browser from my custom model and can download it.

อวตาร
ละทิ้ง

There are many Custom modules available for the same in the Odoo app store for free, can you make a search in Odoo store and see

คำตอบที่ดีที่สุด

Hello Nikunja,

If you want to preview PDF document then there is a default widget. Just apply in your binary field:

widget="pdf_viewer"

Hope it will helpful for you.

Thanks and regards

Haresh Kansara

อวตาร
ละทิ้ง
ผู้เขียน

Thanks Haresh,

how can i show the pdf in a new tab by clicking a button ? please help

Thank You! That's help me

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 21
4092
1
ก.ย. 24
1256
Odoo Mail Sending Limit แก้ไขแล้ว
2
ธ.ค. 23
14665
0
ต.ค. 23
33
3
ต.ค. 23
788