Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
3907 Vistas

Hello,

 I am having issues with the PDF invoices that I am printing on my Odoo 8. all the quotations/invoices does not have the header and footer with company information when I use PDF. If I change to HTML, I can see the header and footer with the company details, but I cannot print the document, because it the only thing that I can do is to edit some information inside the quotation/invoice.

I did check some other docs in the forum, and followed the one below mentioned, and the PDF always have the footer and header information missing.


Is it possible to give me some help or guidance to solve this?

Thanks.

Avatar
Descartar
Autor Mejor respuesta

Hi Pravitha, first of all that for your support. I checked the wkhtmltopdf version and I have the same version mentioned 0.12.1 and I checked the web.base.url I had the value as http://helptech:80 and changed it to http://localhost:80 and we have the same behaviour, there is no header and footer in the pdf document. Do you have any other thoughts regardings this?

Thanks in advance.

Regards,

Avatar
Descartar
Mejor respuesta

First you have to check which version of wkhtmltopdf is installed in your system using the below command in the terminal:

wkhtmltopdf -V

The version should be wkhtmltopdf 0.12.1

If the above step is fine then goto  

Settings--> Technical --> Parameters --> System Parameters--> find web.base.url and set its value to http://0.0.0.0<portno_of_odoo>

eg: in my case : http://localhost:8069

Then save and refresh the page and try to print, it should work.



Avatar
Descartar
Autor

Hi Pravitha, first of all that for your support. I checked the wkhtmltopdf version and I have the same version mentioned 0.12.1 and I checked the web.base.url I had the value as http://helptech:80 and changed it to http://localhost:80 and we have the same behaviour, there is no header and footer in the pdf document. Do you have any other thoughts regardings this?

Thanks in advance.

Regards,

Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 25
1157
1
jul 25
2901
3
feb 24
4534
2
feb 23
2555
2
dic 24
7319