summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-06-01 19:10:53 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-06-01 19:10:53 +0200
commitd4f68f98c9a93e34a71fce2349210f7b5e05675a (patch)
treef6c93c800928c22ea7e6fb2ccfc97a857f9e41c8 /addons/web/static/src/xml/base.xml
parent75f18a1402d245454ccb3ba8c78513804055c2b1 (diff)
[IMP] clean design, bugfix on reference fields
bzr revid: fp@tinyerp.com-20120601171053-vbpe16k783tpzvz4
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml9
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 43871326267..9c3b0b9ef53 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -882,13 +882,12 @@
</ul>
</t>
<t t-name="FieldChar">
- <span class="oe_form_field_char">
+ <span t-att-class="widget.widget_class">
<t t-if="!widget.get('effective_readonly')">
<input t-att-type="widget.password ? 'password' : 'text'"
t-att-id="widget.id_for_label"
t-att-tabindex="widget.node.attrs.tabindex"
t-att-autofocus="widget.node.attrs.autofocus"
- class="field_char"
t-att-placeholder="widget.node.attrs.placeholder"
/><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"/>
</t>
@@ -1012,9 +1011,11 @@
<t t-name="FieldReference">
<table class="oe_form_field_reference oe_form" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td t-attf-class="oe_form_frame_cell oe_form_selection oe_form_view_reference_selection">
+ <td t-attf-class="oe_form_frame_cell oe_form_selection">
+ <span t-attf-class="oe_form_view_reference_selection"/>
</td>
- <td t-attf-class="oe_form_frame_cell oe_form_many2one oe_form_view_reference_m2o" nowrap="true" style="display: none">
+ <td t-attf-class="oe_form_frame_cell oe_form_many2one" nowrap="true">
+ <span t-attf-class="oe_form_view_reference_m2o"/>
</td>
</tr>
</table>