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?
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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/6/14, 9:29 AM|
|Seen: 4370 times|
|Last updated: 6/14/15, 10:14 PM|