跳至内容
菜单
此问题已终结
3 回复
3943 查看

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.

形象
丢弃
编写者 最佳答案

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,

形象
丢弃
最佳答案

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.



形象
丢弃
编写者

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,

相关帖文 回复 查看 活动
0
1月 25
1186
1
7月 25
2982
3
2月 24
4599
2
2月 23
2599
2
12月 24
7389