-
Notifications
You must be signed in to change notification settings - Fork 23.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odoo report , missing header and footer in some page #6207
Comments
@sandeepksrana Which version of wkhtmltopdf do you use ? |
it is latest one problem in some pages ... as i mentioned everything above |
Hello @Cedric-Pigeon & @sandeepksrana This is actually happening in runbot for odoo In the link below there is an example on which of some reports this is happening. https://docs.google.com/a/vauxoo.com/file/d/0B1w9gokcJL9hY2hkbTNjemhrQ1U/edit?usp=drivesdk |
This issue is a duplicated of #5548 |
This issue is related to the wkhtmltopdf issue wkhtmltopdf/wkhtmltopdf#2083 It seems there is a race condition in the Javascript file loading in wkhtmltopdf 0.12.x. The subst.js file put in the header/footer of reports was not always loaded when the page was being rendered, leading to the crash of the onload="subst()" attr in the body node, leading to the non-rendering of the header/footer. Replacing the script file by its content solves the issue. Increasing the --javascript-delay of the wkhtmltopdf executable (e.g. 1000 ms instead of 200 ms, the default value) seems to solve the problem as well, but will lead to obvious performance issues. We therefore choose to put the javascript code inline, as a workaround, the time the issue is solved in wkhtmltopdf, at least. closes #3047,#5548,#6207 opw-633161
Closed with 3c61ee5. |
We same face issue, also footer is not stable at bottom, crap feature. |
Same issue yet found with latest odoo 10 version, was exist in 9.0. |
Hi
Odoo qweb report , missing header and footer in some page, while in first page and later on 7 pages it is there.
Have anyone faced this problem ...
Please let me know.. as i search everything ..
Thanks
Sandeep
The text was updated successfully, but these errors were encountered: