From 3c206c22b7ef2333692cc15ad3cc5220ed0a17c4 Mon Sep 17 00:00:00 2001
From: Nicolas Wavrant <nicolas.wavrant@nexedi.com>
Date: Fri, 15 Dec 2017 11:00:17 +0000
Subject: [PATCH] erp5_crm: display only Email's attachments in so-called
 Attachements field

---
 .../SkinTemplateItem/portal_skins/erp5_crm/Event_view.xml       | 2 +-
 ...gate_title_list.xml => my_aggregate_document_title_list.xml} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view/{my_aggregate_title_list.xml => my_aggregate_document_title_list.xml} (98%)

diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view.xml
index 415e02526e..b27fb0aeee 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view.xml
@@ -78,7 +78,7 @@
                     <value>
                       <list>
                         <string>my_description</string>
-                        <string>my_aggregate_title_list</string>
+                        <string>my_aggregate_document_title_list</string>
                         <string>attachment_list</string>
                         <string>my_content_type</string>
                       </list>
diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view/my_aggregate_title_list.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view/my_aggregate_document_title_list.xml
similarity index 98%
rename from bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view/my_aggregate_title_list.xml
rename to bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view/my_aggregate_document_title_list.xml
index bbcd735bfd..0c002bcfdf 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view/my_aggregate_title_list.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_view/my_aggregate_document_title_list.xml
@@ -16,7 +16,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>my_aggregate_title_list</string> </value>
+            <value> <string>my_aggregate_document_title_list</string> </value>
         </item>
         <item>
             <key> <string>message_values</string> </key>
-- 
2.30.9