How can i preview the attached files like pdf/docs in a browser from my custom model and can download it.
Cette question a été signalée
2
Réponses
14961
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
1
janv. 21
|
5852 | ||
|
|
1
avr. 26
|
4769 | ||
|
|
1
sept. 24
|
2748 | ||
|
Odoo Mail Sending Limit
Résolu
|
|
2
déc. 23
|
19080 | |
|
|
0
oct. 23
|
33 |
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