Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
12380 Prikazi

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

Avatar
Opusti

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
Opusti
Avtor

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 Odgovori Prikazi Aktivnost
1
jan. 21
4090
1
sep. 24
1251
2
dec. 23
14656
0
okt. 23
33
3
okt. 23
788