Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6856 Lượt xem

Executing aprox 400 pages calculated previously on a python function. When I send it wo the pdf this collapse and give the error code -11, but in a mehtod for XLS this is ok. ANd when i print the report locally this works fine.

Can someone say what is the code -11?


WKHTML verrsions:

local:    0.12.1

Cloud:  0.12.2.1

Ảnh đại diện
Huỷ bỏ

Did you have a look there : https://github.com/odoo/odoo/issues/9139

Câu trả lời hay nhất

This error is about memory limit in odoo configuration file.

You can change following options :

  • limit_memory_hard = 1572864000

  • limit_memory_soft = 1073741824

With these settings, Odoo should be able to generate your reports

Ảnh đại diện
Huỷ bỏ

Did it really solved the issue? I have the same issue but don't succeed with this conf

It looks like it's not sufficient for solving this issue : https://github.com/odoo/odoo/issues/9139

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 18
12733
wkhtmltopdf Đã xử lý
3
thg 6 18
5062
2
thg 9 15
7267
3
thg 3 19
7574
1
thg 6 25
1208