Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM
|
e-Commerce
|
Accounting
|
Inventory
|
PoS
|
Project management
|
MRP
|
etc.
Recover Missing Website Header Logo
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?
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&field=datas&model=ir.attachment&id=24&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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 8/13/14, 12:18 PM |
Seen: 1435 times |
Last updated: 3/16/15, 8:10 AM |
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?