projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56d1461
)
[FIX] web: force company logo refresh per db
author
Martin Trigaux
<mat@odoo.com>
Wed, 19 Nov 2014 10:06:40 +0000
(11:06 +0100)
committer
Martin Trigaux
<mat@odoo.com>
Wed, 19 Nov 2014 11:50:27 +0000
(12:50 +0100)
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
addons/web/views/webclient_templates.xml
patch
|
blob
|
history
diff --git
a/addons/web/views/webclient_templates.xml
b/addons/web/views/webclient_templates.xml
index
98e5068
..
4fa84bf
100644
(file)
--- a/
addons/web/views/webclient_templates.xml
+++ b/
addons/web/views/webclient_templates.xml
@@
-250,7
+250,7
@@
<t t-set="body_classname" t-value="'oe_single_form'"/>
<div class="oe_single_form_container modal-content">
<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>
<hr/>
<t t-raw="0"/>