Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
12385 Представления

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

Аватар
Отменить

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

Лучший ответ

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

Related Posts Ответы Просмотры Активность
1
янв. 21
4090
1
сент. 24
1255
2
дек. 23
14657
0
окт. 23
33
3
окт. 23
788