From 4443075c3353169cb44bd82e8c4894e20570b1ab Mon Sep 17 00:00:00 2001
From: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
Date: Sat, 3 Mar 2012 16:58:41 +0900
Subject: [PATCH] Remove defined groups on ZODB Component portal types as it
 should not be considered as a Document for DMS for example.

---
 .../portal_types/Accessor%20Component.xml                  | 7 +------
 .../portal_types/Document%20Component.xml                  | 7 +------
 .../portal_types/Extension%20Component.xml                 | 7 +------
 .../portal_types/Interface%20Component.xml                 | 7 +------
 .../portal_types/Mixin%20Component.xml                     | 7 +------
 .../portal_types/Test%20Component.xml                      | 7 +------
 product/ERP5/bootstrap/erp5_core/bt/change_log             | 3 +++
 product/ERP5/bootstrap/erp5_core/bt/revision               | 2 +-
 8 files changed, 10 insertions(+), 37 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Accessor%20Component.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Accessor%20Component.xml
index 7798f67022..1533eb0459 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Accessor%20Component.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Accessor%20Component.xml
@@ -52,12 +52,7 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple>
-                <string>document</string>
-                <string>my_document</string>
-                <string>recent_document</string>
-                <string>web_document</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Document%20Component.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Document%20Component.xml
index a135f772be..d1369e1628 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Document%20Component.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Document%20Component.xml
@@ -52,12 +52,7 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple>
-                <string>document</string>
-                <string>my_document</string>
-                <string>recent_document</string>
-                <string>web_document</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Extension%20Component.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Extension%20Component.xml
index 7fc1cfd037..1a75b670a8 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Extension%20Component.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Extension%20Component.xml
@@ -52,12 +52,7 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple>
-                <string>document</string>
-                <string>my_document</string>
-                <string>recent_document</string>
-                <string>web_document</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Interface%20Component.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Interface%20Component.xml
index b6612e7ee6..4e9652cba3 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Interface%20Component.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Interface%20Component.xml
@@ -52,12 +52,7 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple>
-                <string>document</string>
-                <string>my_document</string>
-                <string>recent_document</string>
-                <string>web_document</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Mixin%20Component.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Mixin%20Component.xml
index 86656d6a07..6e7cfd4eb2 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Mixin%20Component.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Mixin%20Component.xml
@@ -52,12 +52,7 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple>
-                <string>document</string>
-                <string>my_document</string>
-                <string>recent_document</string>
-                <string>web_document</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Test%20Component.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Test%20Component.xml
index 8ba3f45435..d97fad67be 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Test%20Component.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Test%20Component.xml
@@ -52,12 +52,7 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple>
-                <string>document</string>
-                <string>my_document</string>
-                <string>recent_document</string>
-                <string>web_document</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log
index 583e5cbb24..8d1482b5de 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_core/bt/change_log
@@ -1,3 +1,6 @@
+2012-03-03 arnaud.fontaine
+* Remove defined groups on ZODB Component portal types as it should not be considered as a Document for DMS for example.
+
 2012-03-02 arnaud.fontaine
 * Implement Test Component.
 
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 70905aad2f..8f45777778 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-41024
\ No newline at end of file
+41025
\ No newline at end of file
-- 
GitLab