[FIX] web: force company logo refresh per db

The company_logo is cached and was not refreshed when switching between database, still showing the logo of the company of the previous database
Fixes #2738
This commit is contained in:
Martin Trigaux 2014-11-19 11:06:40 +01:00
parent 56d1461905
commit 8ce89736e9
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@
<t t-set="body_classname" t-value="'oe_single_form'"/> <t t-set="body_classname" t-value="'oe_single_form'"/>
<div class="oe_single_form_container modal-content"> <div class="oe_single_form_container modal-content">
<div class="oe_single_form_logo"> <div class="oe_single_form_logo">
<img src="/web/binary/company_logo"/> <img t-attf-src="/web/binary/company_logo{{ '?dbname='+db if db else '' }}"/>
</div> </div>
<hr/> <hr/>
<t t-raw="0"/> <t t-raw="0"/>