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
Replies
15296
Zobrazenia
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!
Registrácia| Related Posts | Replies | Zobrazenia | Aktivita | |
|---|---|---|---|---|
|
|
1
jan 21
|
5993 | ||
|
|
1
apr 26
|
5095 | ||
|
|
1
sep 24
|
2838 | ||
|
Odoo Mail Sending Limit
Solved
|
|
2
dec 23
|
19330 | |
|
|
0
okt 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