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

we had to upgrade one of our databases to the latest odoo 13 version (it was already using odoo 13 but not the latest version), after having several errors in the database. We reverted it back to it's previous version. How ever now we have a problem with reports not generating properly. It's without any styling:




But when I activate developer mode with assets. It's printed they way it should:



I tried upgrading the modules and regenerating the assets bundle several times, to no avail

Any idea how I can fix this ?

Thanks in advance

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

I solved it. All you need is to run the following command in the terminal:

odoo -d <database_name> -u all --stop-after-init
This will upgrade all the modules in the database and rebuild the required files for the reports
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

This seems to be issue with the report.url in the system parameters. In order to solve this, activate the developer mode and navigate to Settings -> Technical -> Parameters -> System Parameters , and search for the key report.url, if it exists make sure its value is localhost:port_no or your odoo_ip_address:port_no

If report.url does not exists, ensure the value of web.base.url as same or add the report.url.


See this: How To Fix Report Alignment Issue in Odoo


Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 20
2932
0
thg 12 24
932
1
thg 8 24
1793
1
thg 12 23
4131
0
thg 10 22
2805