콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
4200 화면

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
1402
1
7월 25
3448
3
2월 24
5201
2
2월 23
2901
2
12월 24
8019