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

I'm trying to update the header of our report. I put the new image in the same folder along side with the old ones. When I change the file name in the code the image no longer appears when I download the report. Is there something else I need to do? Here is the code and the only thing I changed is the file.

<img src='/module/static/src/img/new-img.jpg' style="max-width: 100%;"/>




When I choose a old image it seems to appear but when I finally use the new one it no longer appears in the report. I'm not sure what's happening. I would really appreciate the help.

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

Kindly check with the path and extension of image.

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

Check your Odoo system parameters for a record name "report.url". 

If don't exist create a new entry yourself with the key=report.url and value='ip or url of your odoo'

For me in local environment resolved the issue.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 21
3184
7
thg 4 23
28621
1
thg 6 24
2383
2
thg 2 25
3357
1
thg 1 24
1936