summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-03-20 14:46:30 +0100
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-03-20 14:46:30 +0100
commitb4c90db21fa378b8f5112de6aa4023789bfb07cf (patch)
tree954395414c0a730a64ddaeff8da05609db7616d6 /addons/web/static/src/xml
parent64f940f212f0a797a0e92fa2c9862e68e93ea5a3 (diff)
[imp] small simplification of field char, email & url
bzr revid: nicolas.vanhoren@openerp.com-20120320134630-vpm67t7rlhvftl58
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 3f5e067285c..e741c491f4b 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -946,8 +946,6 @@
<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-name="widget.name"
- 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>
@@ -962,7 +960,7 @@
<table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
- <t t-call="FieldChar"/>
+ <input/>
</td>
<td width="16">
<button class="oe_button oe_field_button" type="button" title="Send an e-mail with your default e-mail client">
@@ -983,7 +981,7 @@
<table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
- <t t-call="FieldChar"/>
+ <input/>
</td>
<td width="16">
<button class="oe_button oe_field_button" type="button" title="Open this resource">