summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-03-21 12:20:20 +0100
committerOlivier Dony <odo@openerp.com>2013-03-21 12:20:20 +0100
commit57ca8fb11a14941388069ebdf36bf2e7eb3376a2 (patch)
tree47dcc10d043fa941a872ea3db81a3acd3253a0fc /addons/web/static/src/xml/base.xml
parentb6013df8819582576ac6d17a68a5a7ce9e6ad3fe (diff)
[FIX] base.xml: improve backwards compatibility of SearchView.filters template to resolve JS errors on OpenERP Apps where 2 different versions of the web client frameworm can be mixed
The incompatible change was introduced at revision rev. 3803 revid:xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1. lp bug: https://launchpad.net/bugs/1158093 fixed bzr revid: odo@openerp.com-20130321112020-l9fwle08s37z4oqi
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index ec5b374119d..1387da6f5fc 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1520,7 +1520,7 @@
<t t-esc="attrs.string"/>
</button>
<ul t-name="SearchView.filters">
- <li t-foreach="widget.filters" t-as="filter" t-if="filter.visible()"
+ <li t-foreach="widget.filters" t-as="filter" t-if="!filter.visible || filter.visible()"
t-att-title="filter.attrs.string ? filter.attrs.help : undefined">
<t t-esc="filter.attrs.string or filter.attrs.help or filter.attrs.name or 'Ω'"/>
</li>