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

I think I might be underthinking this being way too simple.I'm in odoo 14 and I've came across a reference online which said there's a default "pdf_viewer" widget in odoo.


So, I added a button with the following code for Delivery Slip, which obviously, only downloads to a pdf when actioned but doesn't show a preview.

 


Is there anyway to get a print preview easily? Otherwise I'll leave this to our programmer.

الصورة الرمزية
إهمال

Changing the report type to HTML will helps ?

الكاتب

Thanks everyone, I don't have enough Karma to select answers unfortunately, but thank you all

أفضل إجابة

Hi  Chrisy,

Check this free module in Odoo App Store,

https://apps.odoo.com/apps/modules/14.0/report_pdf_preview/


الصورة الرمزية
إهمال
أفضل إجابة

Dear Chrisy,

You can install a free module that shows the pdf preview and if you need you can also download it from preview.

https://apps.odoo.com/apps/modules/14.0/report_pdf_preview/

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thanks Niyas, it's the PDF preview result we need.  HTML does help by not printing it but also the format will be different from PDF

الصورة الرمزية
إهمال