跳至内容
菜单
此问题已终结
2 回复
12405 查看

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
1260
2
12月 23
14670
0
10月 23
33
3
10月 23
788