diff options
| author | Yogesh (OpenERP) <ysa@tinyerp.com> | 2011-11-11 16:14:09 +0530 |
|---|---|---|
| committer | Yogesh (OpenERP) <ysa@tinyerp.com> | 2011-11-11 16:14:09 +0530 |
| commit | 0b3900d31fd8364986af9e53362f7bf60b3c35e9 (patch) | |
| tree | f4d1537e9784ccb21d5190d506793bef47ee4874 /addons/web/static/src/xml/base.xml | |
| parent | 7d12fedaa3c2f1dcbe335d0ba951976f7fe2a5d9 (diff) | |
[IMP] vieweditor :- node have no attributes then edit icon not display.
bzr revid: ysa@tinyerp.com-20111111104409-bvpizxka5a0i20dd
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index d8eb6a3f8f4..804b5e33c30 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1293,7 +1293,8 @@ <img id="side-remove" src="/web/static/src/img/icons/gtk-remove.png" style="cursor: pointer;"/> </td> <td width="20%"> - <img t-if="rec.att_list.length" + + <img t-if="rec.att_list.length and !_.include(no_properties, rec.att_list[0])" id="side-edit" src="/web/static/src/img/icons/gtk-edit.png" style="cursor: pointer;"/> </td> <td width="20%"> |
