Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6657 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 25
1961
1
มี.ค. 25
2082
2
ก.ค. 24
4577
1
พ.ค. 24
3023
Wkhtmltopdf not found on the sysem แก้ไขแล้ว
2
ก.พ. 24
3775