Skip to Content
Menu
This question has been flagged
2 Replies
12500 Views

Hello together,

I have odoo 8 (Windows) and have installed wkhtmltox 0.12.1.2 for pdf printout of the reports. Everthing works fine but the footer in the pdf is missing.

I have changed already the footer setup in Company settings it does not help.

In HTML the footer is printed. In all reports that I have tested (Invoice, Sales Order ...) the footer is not in the pdf.

Has someone an idea?

Best regards

cakbulut

 

 

Avatar
Discard

https://github.com/odoo/odoo/issues/2907 just closed o_O

Author Best Answer

Hello together,

the problem can be solved with the add of the following system parameter

key: report.url    value: http://127.0.0.1:8069

Best regrads

cakbulut

Avatar
Discard

Thanks it 100% work.

Best Answer

This is a VPS/networking problem that I also had. Is your PDF delayed (taking more time then normal) and is your shop slow when clicking on pay now?
Your problem is coming from the Odoo itself. It cannot find the correct routing to its CSS resources etc and this causes a delay.
The problem is easy to fix..
Go to settings > Parameters > System parameters and edit your web.base.url to have the value http://0.0.0.0:8069/
Now create a new parameter with the name web.base.url.freeze and as value True.

 

Another option is to set the report.url parameter, but this new parameter hasn't been implemented for a long while so you might not have it in your code yet.
You can always try report.url with the value http://127.0.0.1:8069/ or http://0.0.0.0:8069/
You can read more about the bug and the problems here: https://github.com/odoo/odoo/issues/2907

Avatar
Discard

Thank you for sharing this solution. Works for me.