From f4b790ae567e88eca22c4fe0a4bc073df85c99fb Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Fri, 24 Jun 2016 14:20:53 +0900
Subject: [PATCH] erp5_calendar: Presence Request must be a member of calendar
 group the same as Leave Request.

---
 .../portal_types/Presence%20Request.xml       | 28 +++++++++++++++++--
 1 file changed, 25 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_calendar/PortalTypeTemplateItem/portal_types/Presence%20Request.xml b/bt5/erp5_calendar/PortalTypeTemplateItem/portal_types/Presence%20Request.xml
index adbd8de40d..8e7e59a6b9 100644
--- a/bt5/erp5_calendar/PortalTypeTemplateItem/portal_types/Presence%20Request.xml
+++ b/bt5/erp5_calendar/PortalTypeTemplateItem/portal_types/Presence%20Request.xml
@@ -51,7 +51,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>calendar</string>
+              </tuple>
             </value>
         </item>
         <item>
@@ -60,16 +62,36 @@
         </item>
         <item>
             <key> <string>init_script</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>permission</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>Calendar</string> </value>
+        </item>
+        <item>
+            <key> <string>type_interface</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>type_mixin</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
-- 
2.30.9