Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
12464 Vues

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

Avatar
Ignorer

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

Meilleure réponse

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
Ignorer
Auteur

Thanks Haresh,

how can i show the pdf in a new tab by clicking a button ? please help

Thank You! That's help me

Publications associées Réponses Vues Activité
1
janv. 21
4117
1
sept. 24
1277
2
déc. 23
14719
0
oct. 23
33
3
oct. 23
788