[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:
parent
d226771383
commit
727f9056a3
|
@ -461,7 +461,7 @@
|
|||
<t t-set="debug" t-value="__debug__ ? '&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">
|
||||
|
|
Loading…
Reference in New Issue