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

Hi,

here are two screenshots from my mail client. 

First one is what my customers see when I send them quotation/invoice

https://pasteboard.co/H2t04xa.jpg

Second one is what I see when I get reply to that document

https://pasteboard.co/H2sZH1V.jpg


In both cases logo image are not showing.  In other places like application, theme and pdf report logo is OK and showing.


How can I fix this?

Thanks,

Carlo

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

I had the same problem. In my case it was a proxy issue as a result of https web server configuration.

Solved it by changing the value of the "src" attribute of the "img" tag in the template to bypass the proxy by explicitly adding the port like so "http://mydomain:8069/logo.png"

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

Hi, thanks for your answer but I can resolve http://192.168.10.70/logo.png and http://192.168.10.70:8069/logo.png

Yes if I type in the url in a browser there is also no problem but apparently when the system generates the email there is a problem going through the proxy. Just try changing the template and see what happens.

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

Refer "forgot password template" V10
<img src="/logo.png" style="padding: 0px; margin:0px;height:auto;width:80px;" alt="logo"/>

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

Tried to clear cache on dashboard but it doesent help in my situation. Thanks

Refer forgot password template, there could be path issue

Tác giả

I'm not sure what I need to do based on your answer. I tried to reset my password just to see if the logo is showing but it's not.

Tác giả

It is probably path issue but don't know where to start looking for problems?

Which files I need to check ?

Tác giả

I have this part in /odoo/odoo-server/addons/sale/data/mail_template_data.xml

<td valign="middle" align="right">

<img src="/logo.png?company=${company.id}" style="padding: 0px; margin: 0px; height: auto; width: 80px;" alt="${company.name}">

</td>

What can I do with this line ? upload logo to this folder and link it directly ?

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 17
3457
0
thg 3 15
3675
1
thg 1 23
4723
1
thg 5 17
4683
3
thg 1 24
15347