Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
4032 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Penulis

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,

Post Terkait Replies Tampilan Aktivitas
0
Jan 25
1261
1
Jul 25
3136
3
Feb 24
4820
2
Feb 23
2698
2
Des 24
7615