Odoo Help

3
11 Answers
3
Gill Potter
1/26/18, 11:33 AM

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
1/29/18, 2:23 AM

Thanks ! It's work fine

0
Christian Fraesdorff
2/14/19, 12:02 PM

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

0
Efren Bravo
10/24/18, 11:24 PM

Odoo v 11.0 & Windows 10 64bits

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



0
Usman Shahid
9/19/18, 6:47 PM

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.

0
Ahmad Khan
6/24/18, 7:01 AM

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

0
Avatar

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--

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

Learning Python..

Ankit H Gandhi(AHG)
6/1/18, 11:18 AM

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.

0
Benoît Fontaine
1/22/18, 8:46 AM

I had version 0.12.1.2

I just install 0.12.2.1:

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

wkhtmltopdf 0.12.2.1 (with qt patched)

But nothing changed

1 Comment
Gill Potter
1/24/18, 9:16 AM

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?

0
Swapnesh
1/26/18, 10:47 AM

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.

Register
Odoo Training Center

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

Test it now