summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-12-16 16:11:08 +0100
committerXavier Morel <xmo@openerp.com>2011-12-16 16:11:08 +0100
commit847cbbcb2c76c854ec059a50c16dd57a87a8af4f (patch)
tree55e4a34e245549202bd63f1ff7154fc30bca326b /addons/web/static/src/xml/base.xml
parentc380b4db89e56f132576650612171f97f97c04d1 (diff)
[FIX] behavior of invisible search inputs: they can still be active and should be present in the view, just not visible
bzr revid: xmo@openerp.com-20111216151108-b2x0orfy40qzw050
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml16
1 files changed, 10 insertions, 6 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index c7b32cef6d7..20b9cb9d782 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1210,6 +1210,7 @@
t-att-id="element_id"
t-att-title="attrs.help"
t-att-class="classes.join(' ')"
+ t-att-style="style"
t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined">
<img t-att-src="_s + '/web/static/src/img/icons/' + (attrs.icon || 'gtk-home') + '.png'" width="16" height="16"/>
<br t-if="attrs.string"/>
@@ -1222,11 +1223,12 @@
<t t-name="SearchView.field">
<label t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
t-att-title="attrs.help"
- t-att-for="element_id">
+ t-att-for="element_id"
+ t-att-style="style">
<t t-esc="attrs.string || attrs.name"/>
<span t-if="attrs.help">?</span>
</label>
- <div>
+ <div t-att-style="style">
<input type="text" size="15" t-att-name="attrs.name"
t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined"
t-att-id="element_id"
@@ -1237,11 +1239,12 @@
<t t-name="SearchView.date">
<label t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
t-att-title="attrs.help"
- t-att-for="element_id">
+ t-att-for="element_id"
+ t-att-style="style">
<t t-esc="attrs.string || attrs.name"/>
<span t-if="attrs.help">?</span>
</label>
- <div>
+ <div t-att-style="style">
<span t-att-id="element_id"></span>
<t t-if="filters.length" t-raw="filters.render(defaults)"/>
</div>
@@ -1249,11 +1252,12 @@
<t t-name="SearchView.field.selection">
<label t-att-title="attrs.help"
t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
- t-att-for="element_id">
+ t-att-for="element_id"
+ t-att-style="style">
<t t-esc="attrs.string || attrs.name"/>
<span t-if="attrs.help">?</span>
</label>
- <div>
+ <div t-att-style="style">
<select t-att-name="attrs.name" t-att-id="element_id"
t-att-autofocus="attrs.default_focus === '1' || undefined">
<option t-if="prepend_empty"/>