Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
12392 Näkymät

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

Avatar
Hylkää

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

Paras vastaus

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
Hylkää
Tekijä

Thanks Haresh,

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

Thank You! That's help me

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
tammik. 21
4091
1
syysk. 24
1256
2
jouluk. 23
14664
0
lokak. 23
33
3
lokak. 23
788