Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
6185 Vistas

Let say I have two database for 2 company with 2 diff logo. When I logon to the first company database it will display the logo correctly but when I logon to the second company the logo is not reflected? 

Avatar
Descartar

Only happened in Chrome, Firefox reload will reload the logo but when Chrome reload it remain the same until you clear cache.

Mejor respuesta

clear the cashe by ctrl+shift+del

Avatar
Descartar
Mejor respuesta

Hi Jc,

In such cases, ie if your change not get reflected in browser always use ctrl + f5

  • Ctrl-F5 forces a cache refresh, and will guarantee that if the content is changed, you will get the new content.

Hope this helps.

Avatar
Descartar
Mejor respuesta

In v7 you can do it like this

 file : /v7/web/addons/web/static/src/js/chrome.js 

in function do_login: function (db, login, password) {

place this code

instance.web.Reload(1,1);

not sure if its working in odoo 8, worth give it a try

Avatar
Descartar
Autor

no such function in 8

Publicaciones relacionadas Respuestas Vistas Actividad
2
jul 25
1660
4
jun 24
7317
0
feb 22
2337
8
ago 19
38262
2
oct 17
8546