Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
3033 มุมมอง

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

อวตาร
ละทิ้ง