[fix] some other bug in references in read only mode

bzr revid: nicolas.vanhoren@openerp.com-20120420094034-izgqix5kxh54sm45
This commit is contained in:
niv-openerp
2012-04-20 11:40:34 +02:00
parent 912c7b1c47
commit b8deee7a56
2 changed files with 11 additions and 22 deletions
+8 -13
View File
@@ -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">