跳至內容
選單
此問題已被標幟
2 回覆
12393 瀏覽次數

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

相關帖文 回覆 瀏覽次數 活動
1
1月 21
4092
1
9月 24
1256
2
12月 23
14665
0
10月 23
33
3
10月 23
788