summaryrefslogtreecommitdiff
path: root/addons/document/document_view.xml
diff options
context:
space:
mode:
authorHardik <hsa@tinyerp.com>2012-06-27 12:05:42 +0530
committerHardik <hsa@tinyerp.com>2012-06-27 12:05:42 +0530
commit2617ab240be1b6affca7d07f4196cac119539966 (patch)
tree7e1c177b2ca90090ece92c07062b50d475e76cf8 /addons/document/document_view.xml
parent8bf9c634157f83563ef988bc68a3c8b79e753c37 (diff)
[IMP]knowledge : Shared Repository Document attrs are add
bzr revid: hsa@tinyerp.com-20120627063542-h40ty28t15576pf5
Diffstat (limited to 'addons/document/document_view.xml')
-rw-r--r--addons/document/document_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index 8a25acdce55..d5eb6908a0d 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -246,8 +246,8 @@
<field name="name" class="oe_inline"/>
<field name="type" class="oe_inline oe_right"/>
</h1>
-
- <label for="datas" class="oe_edit_only"/>
+ <label for="datas" class="oe_edit_only" attrs="{'invisible':[('type','=','url')]}"/>
+ <label for="url" class="oe_edit_only" attrs="{'invisible':[('type','=','binary')]}" />
<h2>
<field name="datas" filename="datas_fname" attrs="{'invisible':[('type','=','url')]}" class="oe_inline"/>
<field name="datas_fname" attrs="{'invisible':[('type','=','url')]}" class="oe_inline oe_right"/>