Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hello, i use Odoo V9 and when i would print on PDF any document, all the company informations are missing.
It is the same for the CSS with the Odoo template.
in the log i have this info twice each time: (perhaps not related to the fact to not have any company informations on invoice)
INFO db_test openerp.addons.base.ir.ir_qweb: 'o.partner_id.lang' is not a valid language code, is an empty field or is not installed, falling back to en_US
All is defined on the company, the logo, the personnal footer line, the paper size, and so on. All is printed on the PDF, the invoices lines, the customer's informations, the taxes, total due, and so on.
But with no CSS at all, no company header, and no footer.
My Odoo release is the: 9.0.20151117 (from debian repo of openerp for debian jessie 64b)
My WkHtmlToPdf release is the: 0.12.2.1 (with patched qt)
If someone have an idea i'll read it carrefully :) thanks by advance for your help :)
The problem is with wkhtmltopdf library.
If you are using Ubuntu, please download and install it as like below step in terminal and restart Odoo service and than try to print report. (If your system is 32 bit than replace amd64 with i386)
sudo wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/22/16, 4:43 PM|
|Seen: 1421 times|
|Last updated: 11/11/16, 7:01 AM|