İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
6167 Görünümler

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
Vazgeç

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

En İyi Yanıt

clear the cashe by ctrl+shift+del

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

no such function in 8

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Tem 25
1640
4
Haz 24
7293
0
Şub 22
2327
8
Ağu 19
38231
2
Eki 17
8534