Odoo Help

0

No headers or company info on PDF commercial documents (invoices, quotes, ... )

By
Ev'Art Creativ
on 1/22/16, 4:43 PM 1,873 views

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 :)


5

Cybrosys Technologies

--Cybrosys Technologies--
987
| 2 2 3
Calicut, India
--Cybrosys Technologies--

Cybrosys is a well known and highly flourished software development company in India, which provides various services in the IT industry. We are mainly dealing with ERP implementation in both Odoo and .Net, Source Code sale offer for various products and Employee Staffing solutions.

Odoo is the Key service of our company and we have cultivated many potential partners and clients in Europe, Asia, Middle East and Africa within a short span of time. We are really glad to be a part of Odoo and to provide the quality services without any compromise. You can manage the entire project by choosing our experienced and talented developers whenever required. You can feel free to have direct communication with our experts and can assign tasks according to your project plan, the developer will be yours till the end of the work.

Hold your hand with cybrosians to make your Odoo dreams comes true.

Cybrosys Technologies
On 4/8/16, 12:45 AM

Hello, 
Try these...sometimes it helps:

1-Try to upgrade 'Report' module
2.Restart odoo service
3.Restart Python
4. Follow these steps to install
    http://openies.com/install-openerp-odoo-9-on-ubuntu-server-14-04-lts/



1
Nilesh Sheliya
On 4/8/16, 1:21 AM

Hello, 

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/ 

0
Ev'Art Creativ
On 1/26/16, 5:57 AM

hy :)

thanks for your answer i've tryed with odoo packaged 0.12.1-2 release for jessie. I now have te footer but do not have any headers about the company. Only the customer one.

The overall invoice is without CSS styling too.

Just try 0.12.1.0, And; Are you using odoo behind proxy server ?

Ahmed M.Elmubarak
on 1/28/16, 1:54 AM
0

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
3188
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


Ahmed M.Elmubarak
On 1/23/16, 7:13 AM

Hello,

Try to use 0.12.1 Wkhtmltopdf ...

Regards,

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

Question tools

3 follower(s)

Stats

Asked: 1/22/16, 4:43 PM
Seen: 1873 times
Last updated: 11/11/16, 7:01 AM