How can i preview the attached files like pdf/docs in a browser from my custom model and can download it.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
2
Replies
11773
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jan 21
|
3793 | ||
|
1
Sep 24
|
992 | ||
Odoo Mail Sending Limit
Solved
|
|
2
Dec 23
|
13900 | |
|
0
Oct 23
|
33 | ||
|
3
Oct 23
|
788 |
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