summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-02-14 08:43:02 +0100
committerXavier Morel <xmo@openerp.com>2013-02-14 08:43:02 +0100
commit9852c6ff1e212df4e944b61cc9d1ad586b5f08ef (patch)
tree667379f751128467fc21ba8a9dc329b0c142d98e /addons/web/static/src/xml
parent2d87d908e244d6f0fc7621038e90f29621a6f8ea (diff)
[FIX] missing support for invisible fields and groups in new search view
lp bug: https://launchpad.net/bugs/1122183 fixed bzr revid: xmo@openerp.com-20130214074302-rwm2hcmv9mpvp9dv
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml11
1 files changed, 1 insertions, 10 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index e31dcd2a4a0..655c4ddc9e2 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1496,7 +1496,7 @@
<t t-esc="attrs.string"/>
</button>
<ul t-name="SearchView.filters">
- <li t-foreach="widget.filters" t-as="filter"
+ <li t-foreach="widget.filters" t-as="filter" t-if="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>
@@ -1584,15 +1584,6 @@
</div>
</div>
</t>
-<t t-name="SearchView.group">
- <t t-call="SearchView.util.expand">
- <t t-set="expand" t-value="attrs.expand"/>
- <t t-set="label" t-value="attrs.string"/>
- <t t-set="content">
- <t t-call="SearchView.render_lines"/>
- </t>
- </t>
-</t>
<div t-name="SearchView.Filters" class="oe_searchview_filters oe_searchview_section">
</div>