Odoo Help

Welcome!

This community 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.

0

Odoo 9.0c - Invoice PDF has no layout, header or footer. I have tried every version of wkhtml2pdf.

By
Stefano Vasi
on 10/7/16, 8:11 AM 387 views

Hi all

I'm experiencing a strange behaviour of Odoo 9.0c while printing Invoices with standard layout.

  • I can see a correctly formatted invoice when using HTML report.

  • Same report, in PDF, has no layout, footer and header.

I've searched for solution but every hint suggested had no effect on my setup.

To reproduce and, I really hope, helping me on this issue:

- Odoo 9.0c Community Edition installed on CentOS 7 64bit

- I've tried to set report.url and web.base.url as suggested on several posts

report.url -> http://localhost:8069    (tried also with eth IP Address)
web.base.url -> http://localhost:8069 (tried also with eth IP Address)

- I'm accessing Odoo9 from web browser on the same subnet not behind a proxy,

- I've tried all those versions of pdf render tool

wkhtmltopdf 0.12.0
wkhtmltopdf 0.12.1
wkhtmltopdf 0.12.2
wkhtmltopdf 0.12.2.1
wkhtmltopdf 0.12.3

Tried 32bit releases too

Nothing relevant on my logfiles.

Any help would be appreciated

Stefano

-

Have you checked if it works from the external report preview?

This can be found when in development mode via a button on the company form on the report configuration tab.

Mai Ecarde
on 10/11/16, 7:24 PM

Yes, it works.

I''ve PDF'ed an homepage

Stefano Vasi
on 10/13/16, 3:25 AM
0
Stefano Vasi
On 10/13/16, 3:24 AM

I use the recommended version

# wkhtmltopdfYou need to specify atleast one input file, and exactly one output fileUse - for stdin or stdout
Name:
  wkhtmltopdf 0.12.1 (with patched qt)

0
Ingo Lange
On 10/12/16, 3:44 AM

I did setup odoo 9 community on ubuntu 16.04 (xenial) still having same trouble to solve wkhtmltopdf :-( there is no .deb version for 0.12.1 and qt-patched 0.12.3 generic-linux-i386 from download.gna.org installed still returns the header / footer error. We want to purchase the enterprise edition - should we migrate directly to odoo 10? Is easy database import from 9 to 10 supported ? Would we be able to solve wkhtmltopdf problem that why ?

0

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 10/8/16, 8:13 AM

The recommended version is:    wkhtmltopdf 0.12.1 (with patched qt)

Try package from this location: https://nightly.odoo.com/extra/

or from this http://download.gna.org/wkhtmltopdf/0.12/0.12.1/

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 10/7/16, 8:11 AM
Seen: 387 times
Last updated: 10/13/16, 3:24 AM