odooplm
odooplm copied to clipboard
Document - print not working for PDF documents
If a PDF is stored in the Documents, the print button generates an empty page.
I see here we are concatenating:
byteString = b"data:application/pdf;base64," + base64.b64encode(documentContent[0])
but I think this function should be only used for PDFs generated during the upload of 2D drawings.
Please correct me if I am wrong. I am willing to help if you point me in the right direction.
Alessio
@OmniaGit any update on this?
Thanks!
Alessio