summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
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">