Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
12373 Vistas

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

Avatar
Descartar

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

Mejor respuesta

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
Descartar
Autor

Thanks Haresh,

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

Thank You! That's help me

Publicaciones relacionadas Respuestas Vistas Actividad
1
ene 21
4088
1
sept 24
1244
2
dic 23
14650
0
oct 23
33
3
oct 23
788