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

In Odoo 11 (ubuntu 18.04), when I try to print any report, I get an empty error with just the word "undefined".

It used to work OK, and suddenly it stops working.

Any idea how to debug this?

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

You may want to start with looking at the odoo log file

Tác giả

Nothing in the odoo log file.

I found that it's an nginx timeout error, so I increased the imeout in nginx config file. Now I get the report but I have to wait 5 minutes even if it's a very small file. Before it took 5 seconds to have the report, and now 5 minutes. I don't understand why.

not sure this will improve the time issue, anyway you can have a try, activate the developer mode and navigate to settings -> technical -> parameters -> system parameters , and check whether there is a record with key as report.url, if so check whether its value is same as the one you use for accessing the instance. Suppose if your site address is niyasraphy.odoo.com , make sure that the report.url key's value is the same. if there is no such a record with this key, create one.

Tác giả

I added the parameter report.url in the system parameters. It takes now a minute for the report to display, but the report is missing the CSS.

Tác giả Câu trả lời hay nhất

I put in the system parameter report.url an internal URL such as: \http://127.0.0.1:8069, and now it works.

Thank you all.

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

hello wided,
iam facing the same problem, how do you increased the imeout in nginx config file ?
thank you

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 25
2213
1
thg 11 22
3208
2
thg 1 16
5381
2
thg 3 15
8973
0
thg 4 23
3