[FIX] web: wrong company logo in multi-company env

Don't preload company logo of the wrong company

When a user other than the admin signed in
and was in a company different than the admin
and this company had a different logo,
the company logo (in the upper left corner)
displayed the logo of the admin company,
instead of the logo of the company of this
user.

As soon as the user refreshed the page
in his browser, the issue was resolved,
but the logo should be the good one
from the beginning.

Closes #1453
This commit is contained in:
StefanRijnhart 2014-07-30 14:22:35 +02:00 committed by Denis Ledoux
parent d226771383
commit 727f9056a3
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@
<t t-set="debug" t-value="__debug__ ? '&amp;debug' : ''"/>
<a class="oe_logo" t-attf-href="/?ts=#{Date.now()}#{debug}">
<span class="oe_logo_edit">Edit Company data</span>
<img t-att-src='widget.session.url("/web/binary/company_logo")'/>
<img />
</a>
<div class="oe_secondary_menus_container"/>
<div class="oe_footer">