Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
7079 มุมมอง

I was trying to use an SVG for the logo to replace OpenERP in the header on the website.  The app didn't recognize SVG as a valid image format (which should be changed), and when I tried to continue anyway, I ended up with no logo in the header and nothing to click on to edit and choose a PNG instead.

How can I get a logo back in the header?

อวตาร
ละทิ้ง
ผู้เขียน

So far I have tried to find the section in the HTML where it would have been and there is nothing there. I also set the company logo in Settings: Companies: CompanyName. This updates the logo for the "backend" but not the website. Is there a place in the backend where the logo for the website header can be set? Can I access the DB directly when using the odoo hosted SAAS?

ผู้เขียน คำตอบที่ดีที่สุด

I was able to recover the logo in that position by editing the XML from Customize: HTML Editor: Show Logo.

I inserted some external image src into the empty quotes. This filled the space with the external image and allowed the "change" link to be available again.  

After that I was able to upload a PNG of the company logo by the normal method.  

Upon checking the code in the Show Logo template, the line is now:

<img src="/website/image?max_height=768&amp;field=datas&amp;model=ir.attachment&amp;id=24&amp;max_width=1024"/>

I can't find the logic that alters the template resulting in it going blank, but line 166 of odoo / addons / website / views / website_templates.xml is the line affected.

This is resolved for me, but will happen to someone again if the logic isn't changed. 

 

 

อวตาร
ละทิ้ง

I got the same issue. Logo was deleted and replaced by text by using the Website editor, but once switched, no way to get it back!

คำตอบที่ดีที่สุด

Hi, I experience the same in Ofdoo 16.

When editing mupliple pages or blogs my header logo just dissapers.

I then need to add it and safe it.

How can I fix this permenantly?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I also encountered the same problem in odoo15 my website logo disappeared

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

On Odoo 15, I got the same issue, website logo disappeared while editing from website editor, the button show logo disappeared from editing panel and no way to get it back.

Anyone know how to get a logo back manually?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 25
1403
0
ก.พ. 22
2212
How change the logo size? แก้ไขแล้ว
8
ส.ค. 19
37884
Print company logo on POS receipts แก้ไขแล้ว
2
ต.ค. 17
8399
1
มี.ค. 16
7581