-
Notifications
You must be signed in to change notification settings - Fork 24.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
Invoice footer missing in v8 pdf #2907
Comments
Hello, Thanks |
My environment
I test in 8843974 and it has similar issue in wkhtmltopdf issue. I believe this issue affect not only invoice report, but all report generated by wkhtmltopdf. |
hello, thanks |
Hi, Here also
Br, Marko Happonen Kaisaniemenkatu 13 A ERP MADE EASY 2014-10-07 12:35 GMT+03:00 bbn-bernard notifications@github.com:
|
The same bug here, Win 8 64b, then I tried on Ubuntu 14.04 and it started working fine, then suddenly, without made any change nor update, it lost footer, header and CSS, like #1105 Is there a fix? (Odoov8 20141007 - latest wkhtmltopd from wkhtmltopd.org) |
@damodaranudas try to set the report.url key to an internal URL, as http://127.0.0.1:8069 About the issue on Windows, i can't confirm it but it definitely looks like a wkhtmltopdf issue, so you if you can reproduce the issue consistently then you can open an issue on their github: https://github.com/wkhtmltopdf/wkhtmltopdf, it may help them to fix it. Regards |
@bbn-bernard you will get the "boxes" instead of real characters, if you rendering system (in this case the odoo server) does not provide the required font's. |
A couple of days ago I wasn't able to print an invoice at all with my error, and it ended up working fine as noted, however since then all settings are the same regarding wkhtmltopdf and only updated odoo and no footer now. I tried overriding the error by inserting the footer in defferent locations within the external_layout view however it never gets read. I inserted the code as part of the header just to check code issues and it gets inserted as part of the header with out any issue. -= |
I tested it with wkhtmltopdf 0.12.1 with no problem, with 0.12.2 it doesn't show the footer on the invoice pdf template |
The Footer with wkhtmltopdf 0.12.1 and 0.12.2.1 showing at print pdf invoice randomly. 3 times it shows, next time nothing on footer. anybody know anything about this issue? |
Hi, |
Hello, No Footer on When I generate an INVOICE PDF - The font is ... hugly Thank you |
Same Bug... |
@laurenturbain How did you downgrade to 12.0.0 ? |
Using the latest Odoo 8 and wkhtmltopdf 0.12.2.1 (with patched qt), I dont get the footer in pdf. It shows up fine in html. Since I thougt that it might be a regression bug in wkhtmltopdf, I looked up the change log.
Maybe this caused it, yet it can be that the footer spacing needs to get adjusted in Odoo... For now, I go for 0.12.0 in production. |
Was this bug ever fixed? |
I fixed mine by using Odoo SAAS as comparison while changing it to web output mode with DEBUG Mode Active instead of PDF as odoo SAAS didn’t get this issue. (Change output under settings/technical/reports/report/invoice). In your LOCAL version the same location click on search associated qweb (from memory), then click each one, there should be 3 forms and copy content on a text document. Don’t change and save anything yet. Now go back to ODOO SAAS (the online odoo version) and used debug mode to check difference in code where footer is meant to be, selected the entire footer part in web mode, then copied it back to the form directly in my LOCAL odoo version form. To check differences directly I opened each of the 3 part previously saved in text documents separately while viewing the debug page in web output. I say 3 now as I can’t remember which one it was from memory, but I had the one I needed opened at the time, I noticed the difference in a small paragraph in the footer code, Again I can’t remember which one of the three forms had the footer code, but go through them and take a look it’s easy to find. I just replaced my LOCAL Odoo parograph with the one found in ODOO SAAS that I was able to see in web mode and worked on the PDF side on Local version as well. It may be easier to just copy entire form from ODOO SAAS to LOCAL but I am not an expert, and code differs from Online version to Local and can’t confirm this. There may be similar more straight forward ways to do it but I fixed mine this way.
Sorry this is not a step by step instructions and don’t have odoo in front of me, but my guess is someone more of an expert in code can check this and notice the differences. (For me this was a while back and difference in versions and updates may have fixed or updated this issue as I haven’t had an issue since then with the footer.
From: leincontinente
Sent: Monday, June 22, 2015 11:41 AM
To: odoo/odoo
Cc: FusionMK
Subject: Re: [odoo] Invoice footer missing in v8 pdf (#2907)
Was this bug ever fixed?
I have the same problem
—
Reply to this email directly or view it on GitHub.
|
Hello, On ulterior wkhmltopdf, like 0.12.2.1, there is a known bug with the footers that is currently not fixed and the maintainer is working on it so hopefully it'll be ok in the 0.13 release. Regards |
@sle-odoo: wkhtmltopdf/wkhtmltopdf#2183 will be fixed for 0.12.3 and not for 0.13. |
glad to hear that 👍 |
Yes, I did have the same error, I've downgrade wkhtmltopdf to the version 0.12.0, and it's working! |
@jose-eezee: did you try using the |
Hi Ashkulz Update |
I use odoo V8 on AWS cloud (linux ubuntu /wkhtmltopdf 0.12.3) , I also faced sometimes invoice footer missing in pdf sometimes it works correctly. I have made a quite interresting test today : I change the type of instance from micro (1vcpu/1GBRAM/disque not EBS optimized --> a slow machine) to a C4.large machine (2 fast vcpu, 4GB Ram, EBS-Optimized disk) :
So i think that performance of the machine could explain why footer is not printed every times with pdf. I am not sure which ressource (cpu, RAM or disk) is the most influent in this case but i suspect cpu because when i look to nmon screen, cpu is heavily used when a pdf print is launched, there was still free memory available, but for disks it could be more complex to analyze. |
had the same issue, footer randomly started to disappear, after reading the last comment i looked up the processes on the server and i had a cpu heavy process running and after terminating that process on my aws ec2 instance, the footer is back again! :) |
did you remember the name of the process ? |
it was not related to odoo at all, just some load on the ec2 micro instance |
OK which type of ec2 instance do you have? |
got the t3.micro instance, i know, it doesn't meet the requirements, but it works.... never ran into an issue before this one :) |
I move to t3 but still have the issue randomly. I think it depend on the activity of the host you are and this depend on the hour of the day... |
[FIX] account: Check parent in order to fill the data
When printing invoice pdf the footer is not printed even if in the Preview in the Company data you can see it perfectly ok. I checked #1105 but looks like the issue is somewhat different as I only have problem with the footer and even the preview is fine.
The text was updated successfully, but these errors were encountered: