Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
12388 Ansichten

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

Avatar
Verwerfen

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

Beste Antwort

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
Verwerfen
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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Jan. 21
4091
1
Sept. 24
1255
2
Dez. 23
14658
0
Okt. 23
33
3
Okt. 23
788