Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
12387 Visninger

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

Avatar
Kassér

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

Bedste svar

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
Kassér
Forfatter

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 Besvarelser Visninger Aktivitet
1
jan. 21
4091
1
sep. 24
1255
2
dec. 23
14658
0
okt. 23
33
3
okt. 23
788