Skip to Content
मेन्यू
This question has been flagged
2 Replies
12389 Views

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

Avatar
Discard

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

Best Answer

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

Avatar
Discard
Author

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 Replies Views Activity
1
जन॰ 21
4091
1
सित॰ 24
1256
2
दिस॰ 23
14659
0
अक्तू॰ 23
33
3
अक्तू॰ 23
788