Odoo Help


11 Answers
Gill Potter
2018/01/26 11:33

Hi Benoît Fontaine,

If like me, you don't want any formatting from Odoo then you can use

 <t t-call="web.basic_layout">

This worked for me. 

1 Comment
Benoît Fontaine
2018/01/29 2:23

Thanks ! It's work fine

Christian Fraesdorff
2019/02/14 12:02

Thanks Ahmad Khan - I had the same problem and your solution worked for me too ...

Efren Bravo
2018/10/24 23:24

Odoo v 11.0 & Windows 10 64bits

Replace <div class="page"> with <div class="article"> as Ahmad Khansaid before. It worked for me.

Usman Shahid
2018/09/19 18:47

You will need to change logon account for odoo service. It happens when odoo is unable to access the file generated, To avoid this issue set Odoo Service Logon Account to Administrator (Whoever has full control) instead of local service.

Ahmad Khan
2018/06/24 7:01

hey Hello Benoît Fontaine,
instead of this line <div class="page">, use <div class="article">


Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--

| 6 5 8
Baroda, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG)
2018/06/01 11:18

Please follow below step:

Download wkhtmltopdf patched with qt using below command

 - sudo wget -P Downloads https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb

Here, replace "trusty" with your OS name and if 64 bit only then keep "amd64" like that , otherwise change it to "i386" and down load the deb file.

After that execute the following commands,

cd ~/Downloads

- sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

Now, check wkhtmltopdf version with below command,

- wkhtmltopdf -V

Hope above step help full.

Best Thanks,

Ankit H Gandhi.

Benoît Fontaine
2018/01/22 8:46

I had version

I just install

C: \ Program Files (x86) \ Odoo 11.0> thirdparty \ wkhtmltopdf --version

wkhtmltopdf (with qt patched)

But nothing changed

1 Comment
Gill Potter
2018/01/24 9:16

I am having exactly the same issue in Odoo v11. My new custom report works in html but the pdf is generated blank.

Have you made any progress?

2018/01/26 10:47

Hello Benoît Fontaine,

You are missing <t t-call="web.external_layout"> in your report format.

wkhtmltopdf doesn't have any Issues here.

Also replied to your Github Issue in case  you are not getting mail from here.

Ask a Question
Keep Informed
3 follower(s)
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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now