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

Setup:

Odoo9/Ubuntu14LTS

Installed using .deb file.


The server is behind Reverse Proxy.

I can see the "print" view of the invoice fine but when It is attached to the invoice email it has no CSS formatting. This seems to be a problem with "path" info somewhere.

I have tried the "System Parameters" tips but none worked.

- added web.base.url.report = http://0.0.0.0:8069

- added report.url = http://0.0.0.0:8069

I'm thinking the problem might be with the web.base.url since it's different than the General Settings Alias url?

Is there any other way to generate the PDF template or simply use HTML version of the invoice?


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

Looks like the problem was the different server names in hosts file and the web.base.url System Parameter. After changing web.base.url to be the same as in server hosts file - PDF generation started normally. Only problem now is the default PDF template is kind of bad. What is the best way to change it?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 25
718
1
thg 8 25
1474
1
thg 6 24
2400
1
thg 10 22
2277
0
thg 2 20
3