Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
3036 Vizualizări

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.

Imagine profil
Abandonează

Changing the report type to HTML will helps ?

Autor

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

Cel mai bun răspuns

Hi  Chrisy,

Check this free module in Odoo App Store,

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


Imagine profil
Abandonează
Cel mai bun răspuns

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/

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează