diff options
| author | Vishmita <vja@tinyerp.com> | 2012-10-03 18:22:38 +0530 |
|---|---|---|
| committer | Vishmita <vja@tinyerp.com> | 2012-10-03 18:22:38 +0530 |
| commit | 2b1384dcfcdef5a336eee4864a7185c4e41072eb (patch) | |
| tree | ea60f38d33c03a2d2f517d1568681dfce57519f0 /addons/web/static | |
| parent | 10513dc524cb46489fe3ed890359712e8a087611 (diff) | |
[Fix]remove delete icon from attachment for google doc
bzr revid: vja@tinyerp.com-20121003125238-dnhytzvxj13gnsrf
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 3d979186aa3..f4c5de237ac 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -554,7 +554,7 @@ <a class="oe_sidebar_action_a" t-att-title="item.title" t-att-data-section="section.name" t-att-data-index="item_index" t-att-href="item.url" target="_blank"> <t t-raw="item.label"/> </a> - <a t-if="section.name == 'files'" class="oe_sidebar_delete_item" t-att-data-id="item.id" title="Delete this attachment">x</a> + <a t-if="section.name == 'files' and !item.deletable" class="oe_sidebar_delete_item" t-att-data-id="item.id" title="Delete this attachment">x</a> </li> <li t-if="section.name == 'files'" class="oe_sidebar_add_attachment"> <t t-call="HiddenInputFile"> |
