diff options
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 4ac29e0d116..a6704ad659b 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -958,7 +958,7 @@ <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' : ''}" + t-attf-class="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> </t> @@ -972,7 +972,7 @@ <table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0"> <tr> <td> - <input t-att-id="widget.id_for_label"/> + <input type="text" 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"> @@ -993,7 +993,7 @@ <table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0"> <tr> <td> - <input t-att-id="widget.id_for_label"/> + <input type="text" t-att-id="widget.id_for_label"/> </td> <td width="16"> <button class="oe_button oe_field_button" type="button" title="Open this resource"> @@ -1051,7 +1051,7 @@ <table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top"> - <t t-call="FieldChar"/> + <input type="text" t-att-id="widget.id_for_label"/> <span class="oe-m2o-drop-down-button"> <img t-att-src='_s + "/web/static/src/img/down-arrow.png"' /></span> </td> @@ -1103,6 +1103,7 @@ <t t-name="FieldBoolean"> <div t-attf-class="oe_form_field_#{widget.type}"> <input type="checkbox" + t-att-id="widget.id_for_label" t-att-name="widget.name" t-attf-class="field_#{widget.type}"/> </div> |
