コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6661 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 25
1971
1
3月 25
2085
2
7月 24
4577
1
5月 24
3025
2
2月 24
3777