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

Hello,

Report not print properly on server even wkhtmltopdf install properly with suitable version.

Please help me!!



Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hello,

for that:

1. Add the following line inside odoo/addons/report/models/report.py file line no. 190.

base_url = self.pool['ir.config_parameter'].get_param(cr, uid, 'web.base.url.report')

2. Add the server parameter web.base.url.report with value http://0.0.0.0:8069 (Running Port).

3. Restart the Server and It will work.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 21
2618
2
thg 4 23
8434
2
thg 12 23
12655
3
thg 7 22
22995
2
thg 6 21
18455