Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
3057 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

Changing the report type to HTML will helps ?

Tác giả

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

Câu trả lời hay nhất

Hi  Chrisy,

Check this free module in Odoo App Store,

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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/

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ