Odoo Help

3
1
Gill Potter
On 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. 

Thanks ! It's work fine

Benoît Fontaine
on 1/29/18, 2:23 AM
0
Efren Bravo
On 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
On 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
On 6/24/18, 7:01 AM

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

0
Ankit H Gandhi(AHG)
On 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
On 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

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?

Gill Potter
on 1/24/18, 9:16 AM
0
Swapnesh
On 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.

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 1/19/18, 6:12 AM
Seen: 4319 times
Last updated: 1/11/19, 6:55 AM