Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2094 Visualizzazioni

Hello,

I am trying to put an existing PDF file  in my QWEB Report.

There the the first page in Xml code and then I want to put the PDF file after. (Just like the Images fields)  but the only difference is that I want to put a pdf file.


Any ideas ?

Avatar
Abbandona

According to stack overflow, whhtmltopdf does not support merging pdf file. If I would do it, I'd extend the ir.action report and either insert the first page html (_prepare_html) or use other python pdf library to merge the pdf (_postprocess_pdf_report)