Ir al contenido
Menú
Se marcó esta pregunta
5 Respuestas
8771 Vistas

Installed V8 on 14.04.01, when printing report it throws following message:

Unable to open document “file:///tmp/sale.report_saleorder-1.pdf”.

File type plain text document (text/plain) is not supported

Any help is very much appreciated.

Regards,

Bharat

Avatar
Descartar

Document Viewer cannot open text files. Are you sure that the file sale.report_saleorder-1.pdf is not corrupted PDF file? Do other, correct PDF, in this location throw this error?

Mejor respuesta

Hello I have installed Odoo 10 in Centos7 and wkhtmltopdf ver. 0.12.1 but when tried to print some document show xxxxxx.pdf 0 bytes.


Cant help me wiht this error


Thanks

 

Avatar
Descartar
Mejor respuesta

I have the some pb

the solution plz ???

thank you

Avatar
Descartar
Mejor respuesta

Please run this command in the terminal:

sudo update-mime-database /usr/share/mime

Let me know if it helped.

 

Avatar
Descartar
Autor Mejor respuesta

Thanks for the answers and replies, got this error solved by upgrading the wkhtmltopdf version. Here is the reference link to update the wkhtmltopdf version

http://odedrabhavesh.blogspot.in/search?updated-max=2014-12-10T09:53:00-08:00&max-results=7

Regards,

Bharat

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
5
nov 16
6649
0
ago 16
4942
2
jun 16
3707
1
jun 25
3069
2
dic 24
3987