diff options
| author | Hardik <hsa@tinyerp.com> | 2012-06-27 12:05:42 +0530 |
|---|---|---|
| committer | Hardik <hsa@tinyerp.com> | 2012-06-27 12:05:42 +0530 |
| commit | 2617ab240be1b6affca7d07f4196cac119539966 (patch) | |
| tree | 7e1c177b2ca90090ece92c07062b50d475e76cf8 /addons/document/document_view.xml | |
| parent | 8bf9c634157f83563ef988bc68a3c8b79e753c37 (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.xml | 4 |
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"/> |
