تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
12554 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يناير 21
4163
1
سبتمبر 24
1359
2
ديسمبر 23
14786
0
أكتوبر 23
33
3
أكتوبر 23
788