Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
12437 Visualizações

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

Avatar
Cancelar

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

Melhor resposta

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

Publicações relacionadas Respostas Visualizações Atividade
1
jan. 21
4104
1
set. 24
1268
2
dez. 23
14683
0
out. 23
33
3
out. 23
788