Skip to Content
Menu
This question has been flagged
1 Atsakyti
6654 Rodiniai

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

Portretas
Atmesti
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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 25
1961
1
kov. 25
2082
2
liep. 24
4576
1
geg. 24
3020
2
vas. 24
3775