Skip to Content
Menu
This question has been flagged
1 Reply
5611 Views

I want generate a big pdf ~ 700 pages from account_invoice,

I use wkhtmltopdf 0.12.5 (with patched qt)

Odoo 12.0+e 

In conf file :

limit_memory_hard = 2684354560
limit_memory_soft = 2147483648
limit_request = 8192

In limit conf: 

* hard nofile 1000000
* soft nofile 1000000
* soft stack 81920

Avatar
Discard
Best Answer

Hello,

I have the exact same situation.

Unless with a simple qweb, it's bug :

<?xml version="1.0"?>
<t t-name="sale_Listes.qweb_listingDesCommandes">
<t t-call="web.html_container">

<t t-foreach="range(1500)" t-as="ind">
<div class="article">
1
</div>
</t>

</t>
    </t>

It's work with printing 1000 simple pdfs with no header/footer/style, but not 1500 or 2000 pages.
Do you have an idea of what to do ?
Everything has been rised for the parameter (u-limit, limit hard/soft, etc ...)

Sincererely,

Yvan.

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
2929
1
May 24
744
2
Feb 24
2191
0
Jun 22
1556
0
Oct 21
1568