summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-04-20 11:40:34 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-04-20 11:40:34 +0200
commitb8deee7a566d63d760d58b91fd73ceb7d96fc9d7 (patch)
tree923658a129f4cb7d8c5df6267e2ae94b7ce72b4e /addons/web/static/src/xml
parent912c7b1c47b606e7074676f45d16b1c4f2327d5b (diff)
[fix] some other bug in references in read only mode
bzr revid: nicolas.vanhoren@openerp.com-20120420094034-izgqix5kxh54sm45
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml21
1 files changed, 8 insertions, 13 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 322d06fd6ae..57970c1486e 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1040,19 +1040,14 @@
</t>
</t>
<t t-name="FieldReference">
- <t t-if="!widget.get('effective_readonly')">
- <table class="oe_form_field_reference oe_frame oe_forms" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td t-attf-class="oe_form_frame_cell oe_form_selection 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>
- </tr>
- </table>
- </t>
- <t t-if="widget.get('effective_readonly')">
- <a href="#" class="oe_form_uri"/>
- </t>
+ <table class="oe_form_field_reference oe_frame oe_forms" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td t-attf-class="oe_form_frame_cell oe_form_selection 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>
+ </tr>
+ </table>
</t>
<t t-name="FieldBoolean">
<span class="oe_form_field_boolean">