How can i preview the attached files like pdf/docs in a browser from my custom model and can download it.
This question has been flagged
2
Respostes
14814
Vistes
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
Thanks Haresh,
how can i show the pdf in a new tab by clicking a button ? please help
Thank You! That's help me
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
|
1
de gen. 21
|
5788 | ||
|
|
1
d’abr. 26
|
4389 | ||
|
|
1
de set. 24
|
2693 | ||
|
Odoo Mail Sending Limit
Solved
|
|
2
de des. 23
|
18785 | |
|
|
0
d’oct. 23
|
33 |
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