Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6659 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 25
1963
1
mar 25
2084
2
lip 24
4577
1
maj 24
3024
2
lut 24
3776