summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-03-20 15:10:58 +0100
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-03-20 15:10:58 +0100
commite2c7d8094a4880860901155c1c45a2dabdf17f24 (patch)
treec4a5d5811dc6ad7871cbf37b3dab8fab42e45d8f /addons/web/static/src/xml/base.xml
parente06167040843562ffd7ee90a6d8991973c0dd4a4 (diff)
[revert] put back id_for_label
bzr revid: nicolas.vanhoren@openerp.com-20120320141058-u6c49whligxcc5i1
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index e741c491f4b..3b6afc1b69d 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -946,6 +946,7 @@
<t t-if="!widget.get('effective_readonly')">
<div t-attf-class="oe_form_field_#{widget.type}">
<input t-att-type="widget.password ? 'password' : 'text'"
+ t-att-id="widget.id_for_label"
t-attf-class="oe_field_#{widget.type} #{_(['integer', 'float', 'float_time']).contains(widget.type) ? 'oe-number' : ''}"
/><img class="oe_field_translate oe_input_icon" t-if="widget.field.translate" t-att-src='_s + "/web/static/src/img/icons/terp-translate.png"' width="16" height="16" border="0"/>
</div>
@@ -960,7 +961,7 @@
<table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
- <input/>
+ <input t-att-id="widget.id_for_label"/>
</td>
<td width="16">
<button class="oe_button oe_field_button" type="button" title="Send an e-mail with your default e-mail client">
@@ -981,7 +982,7 @@
<table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
- <input/>
+ <input t-att-id="widget.id_for_label"/>
</td>
<td width="16">
<button class="oe_button oe_field_button" type="button" title="Open this resource">