Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
12399 Visualizzazioni

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

Avatar
Abbandona

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

Risposta migliore

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
Abbandona
Autore

Thanks Haresh,

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

Thank You! That's help me

Post correlati Risposte Visualizzazioni Attività
1
gen 21
4092
1
set 24
1256
2
dic 23
14666
0
ott 23
33
3
ott 23
788