Odoo Help


12 Answers

You have to override the web module with your own module. You can add a line like

'data': [ 'views/website_templates.xml' ]

in your __openerp__.py.

Put your favicon at static/src/img/favicon.ico and add a template to views/website_templates:

<template id="MYSITE_layout" inherit_id="website.layout" name="MYSITE layout" priority="17">
<xpath expr="//head//link" position="after">
<link rel="shortcut icon" href="/MYSITE_web/static/src/img/favicon.ico" type="image/x-icon"/>


Ivan Elizaryev

--Ivan Elizaryev--
| 4 3 9
Ufa, Russian Federation
--Ivan Elizaryev--

I tried odoo at the end of 2013. I fell in love in it and have been working with odoo as a freelancer for almost two years. In September 2015 I began operate as a Company and have 5 developers for now.

Ivan, March 2016.

Ivan Elizaryev
21.07.15, 10:22

You can try my module web_debranding

It allows to configure favicon dynamically at Settings\System Parameters:

    <template id="web_debranding.web_layout" inherit_id="web.layout">
<xpath expr="//title" position="replace"></xpath>
<xpath expr="//link[@rel='shortcut icon']" position="replace">
<t t-set="favicon" t-value="request.env['ir.config_parameter'].get_param('web_debranding.favicon_url', '').strip()"/>
<t t-if="favicon">
<link rel="shortcut icon" t-att-href="favicon" type="image/x-icon"/>


IT Libertas

--IT Libertas--
| 4 3 9
Saint Petersburg, Russian Federation
--IT Libertas--

Visit us: https://odootools.com/

IT Libertas is a team of developers and automation experts to help you to unlock Odoo ERP system's potential. We have been communicating with end users to whom the software became a main business tool since 2012. As a result, we are proud of dozens of successful Odoo apps developed.

We are open for new ideas and challenges to create the best Odoo tools for business needs all over the world

IT Libertas
24.03.16, 13:19

You may do it through the interface with the help of this module: https://apps.odoo.com/apps/modules/8.0/colors_customization/

Macopedia Sp. z o.o
25.08.14, 06:28

In V8 you can change favicon by modifying templates. See e.g. "website.layout" view

1 Comment
Tobias Frankl
27.02.15, 02:14

Could you explain your solution with one more sentence please? I found website.layout, but no reference to the used favicon. just put the reference there?

Sayed Aziz Ahmed
08.03.16, 04:41

you can also replace the favicon.ico by just tracing it and replacing the ico file with your ico file.

i tried this step and it worked.


Thierry Godin

--Thierry Godin--
| 8 7 10
Collegien, France
--Thierry Godin--


Thierry Godin
05.12.13, 16:25

Or just drop yours here : addons/web/static/src/img


05.12.13, 18:46

Thanks for you repky, but i don't want to change default module, i changed successfully using inherit JavaScript $('link[href="/web/static/src/img/favicon.ico"]').attr('href','/kderp_web/static/src/img/favicon.ico');     (function() {         var link = document.createElement('link');         link.type = 'image/x-icon';         link.rel = 'shortcut icon';         link.href = '/kderp_web/static/src/img/favicon.ico';         document.getElementsByTagName('head')[0].appendChild(link);     }());

Kasper Souren
13.08.14, 07:44

Is it possible to somehow override stuff that's living in addons/web/static/src/img through a custom module?


Ray Carnes

--Ray Carnes--
| 10 7 11
Greater Los Angeles, United States
--Ray Carnes--

Business Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0, 11.0 and 12.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
04.12.13, 23:37

Try changing the source code:


image description

Kasper Souren
13.08.14, 07:44

I don't like to change any default modules. Is it possible to override main.py somehow?

01.10.14, 01:31

Try this: https://www.odoo.com/fr_FR/forum/help-1/question/how-to-remove-manage-databases-2615

Ask a Question
Keep Informed
4 follower(s)
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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now