コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
12371 ビュー

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
4086
1
9月 24
1243
2
12月 23
14649
0
10月 23
33
3
10月 23
788