we have customized the content of the view external_layout_header and external_layout_footer.
The header is displayed correctly, but the footer is not. We have just a blank footer. Most funnily, the same Code works on our test environment. What could be the problem? Thanks for your comments.
This problem is due to a bug in Wkhtmltopdf V0.12.2 in combination with Odoo.
The solution is very simple. Remove your Wkhtmltopdf V0.12.2 and install Wkhtmltopdf V0.12.1.
This bug is reported on Github and confirmed. You can follow any development and details about it here https://github.com/odoo/odoo/issues/4806
(thanks to the grand 5 karma limitation I am not able to upvote your question nor to comment it, but I think it is very helpful, therefore: thanks! If you would help me to earn one more karma point?)
I have tried uninstalling wkhtmltopdf by using
dpkg -r wkhtmltox,
then installed .12.1 , restarted the server. Didn't work. Installed .12.2, restarted the server. Didn't work. Installed .12.0, restarted the server. Didn't work. I have set and removed the System Variable under Settings --> Technical Settings --> Parameters --> System Parameters ... didn't work. Could you please tell me the exact process on how to remove everything wkhtml-ish and then reinstalling the old version?
It finally did work for me by setting the System Parameter to /usr/local/bin instead of /usr/bin . Both executables are the same, but - it works.
It did work exactly once. Thereafter, no footer. Dunno what to do next.
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: 1/20/15, 2:15 PM|
|Seen: 782 times|
|Last updated: 3/16/15, 8:10 AM|