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

Hello,

I have my Odoo running on Apache port 80 with SSL and Odoo is running as an WSGI Application.

I have wkthmltopdf library properly installed with correct supported version 0.12.1 (with patched qt)

Whenever I try to print any qweb report on my server, it starts loading and then finally it timeout. 

I tried to search for this issue and I found a solution to change the web_base_url in system parameter to 127.0.0.1.

When I change it to 127.0.0.1, I am able to print the report, but then odoo appends 127.0.0.1 in all the system generated urls like Signup form or change password urls.


By default Odoo is setting my server url as 'http' in web_base_url. I have SSL configured and I am not sure if this is the issue. I tried to change 'http' to 'https' in web_base_url but no luck.

I am unable to understand why this it is happening and how I can fix it. Can you please help me?

Thank you in advance.


Ảnh đại diện
Huỷ bỏ
Tác giả

I found this GitHub issue linked to the same problem

https://github.com/odoo/odoo/issues/24173

But I am unable to understand what exact steps I need to follow to fix this.

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

You should set the report.url parameter, not the web.base.url.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 24
1482
0
thg 6 21
3336
2
thg 10 23
5697
1
thg 7 25
2696
1
thg 5 25
3307