From 5367f88f70b210d8b5c180beda6f0b133ad8b755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Thu, 29 Dec 2005 12:54:05 +0000
Subject: [PATCH] remove properties from portal types as they are exported
 separately

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4919 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Address.xml                  | 18 ++++++++++++++
 .../portal_types/Agent%20Privilege.xml        | 24 +++++++++++++++++++
 .../portal_types/Agent.xml                    |  4 +---
 .../portal_types/Alarm%20Tool.xml             | 10 +++++---
 .../portal_types/Applied%20Rule.xml           |  4 +---
 .../portal_types/Assignment.xml               | 18 ++++++++++++++
 .../portal_types/Bank%20Account.xml           | 14 ++++++-----
 .../portal_types/Base%20Category.xml          | 10 +++++---
 .../portal_types/Category%20Tool.xml          | 10 +++++---
 .../portal_types/Category.xml                 |  4 +---
 .../portal_types/Credit%20Card.xml            |  4 +---
 .../Currency%20Exchange%20Line.xml            | 12 +++-------
 .../portal_types/Currency%20Module.xml        | 23 ++++++++++++++----
 .../portal_types/Currency.xml                 |  4 +---
 .../portal_types/Delivery%20Builder.xml       |  4 +---
 .../portal_types/Delivery%20Tool.xml          |  4 +---
 .../portal_types/Document.xml                 | 18 ++++++++++++++
 .../portal_types/Email.xml                    | 18 ++++++++++++++
 .../portal_types/Favorite.xml                 |  6 +++++
 .../portal_types/File.xml                     | 18 ++++++++++++++
 .../portal_types/Folder.xml                   | 18 ++++++++++++++
 .../portal_types/Image.xml                    | 18 ++++++++++++++
 .../portal_types/Link.xml                     |  6 +++++
 .../portal_types/News%20Item.xml              |  6 +++++
 .../portal_types/Order%20Builder.xml          |  4 +---
 .../portal_types/Order%20Tool.xml             |  4 +---
 .../portal_types/Organisation%20Module.xml    | 22 ++++++++++++++---
 .../portal_types/Organisation.xml             | 14 +----------
 .../portal_types/Person%20Module.xml          | 22 ++++++++++++++---
 .../portal_types/Person.xml                   | 14 +----------
 .../portal_types/Predicate.xml                |  4 +---
 .../portal_types/Preference%20Tool.xml        |  4 +---
 .../portal_types/Route%20Tool.xml             | 24 +++++++++++++++++++
 .../portal_types/Rule%20Tool.xml              | 12 ++++++----
 .../portal_types/Simulation%20Movement.xml    |  4 +---
 .../portal_types/Simulation%20Tool.xml        |  4 +---
 .../portal_types/Telephone.xml                | 18 ++++++++++++++
 .../portal_types/Template%20Tool.xml          | 22 ++++++++++++++---
 .../portal_types/Trash%20Bin.xml              | 10 ++------
 .../portal_types/Trash%20Tool.xml             |  4 +---
 40 files changed, 343 insertions(+), 118 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Address.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Address.xml
index 562831cea1..e3f4f7b9c5 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Address.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Address.xml
@@ -42,6 +42,12 @@
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>document_icon.gif</string> </value>
@@ -62,10 +68,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Address</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Agent%20Privilege.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Agent%20Privilege.xml
index 7f1ed50f7b..16c6851142 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Agent%20Privilege.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Agent%20Privilege.xml
@@ -35,6 +35,18 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>allowed_content_types</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>document.gif</string> </value>
@@ -53,10 +65,22 @@
             <key> <string>factory</string> </key>
             <value> <string>addAgentPrivilege</string> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Agent Privilege</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Agent.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Agent.xml
index d782fdddba..c40b279aba 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Agent.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Agent.xml
@@ -43,9 +43,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Agent Privilege</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Alarm%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Alarm%20Tool.xml
index f6608fd598..8654bb4c3e 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Alarm%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Alarm%20Tool.xml
@@ -37,9 +37,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Alarm</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -68,6 +66,12 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Alarm Tool</string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Applied%20Rule.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Applied%20Rule.xml
index 60d08d88e9..9737b2c505 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Applied%20Rule.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Applied%20Rule.xml
@@ -40,9 +40,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Simulation Movement</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Assignment.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Assignment.xml
index 40c8a6f421..2017e0ede9 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Assignment.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Assignment.xml
@@ -41,6 +41,12 @@
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>order_icon.gif</string> </value>
@@ -61,10 +67,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Assignment</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml
index 0713aec961..3d92e14de9 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Bank%20Account.xml
@@ -38,9 +38,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Agent</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -74,6 +72,12 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Bank Account</string> </value>
@@ -85,9 +89,7 @@
         <item>
             <key> <string>property_sheet_list</string> </key>
             <value>
-              <tuple>
-                <string>BankAccount</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Base%20Category.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Base%20Category.xml
index 28fe8c3fd7..0807f05c5a 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Base%20Category.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Base%20Category.xml
@@ -36,9 +36,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Category</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -68,6 +66,12 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Base Category</string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Tool.xml
index b6dff69242..f0c081af98 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Tool.xml
@@ -40,9 +40,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Base Category</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -72,6 +70,12 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Category Tool</string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category.xml
index 54a6199ab2..2c42e78631 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category.xml
@@ -40,9 +40,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Category</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Credit%20Card.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Credit%20Card.xml
index 602a10b4f4..ecea6f7a5e 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Credit%20Card.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Credit%20Card.xml
@@ -120,9 +120,7 @@
         <item>
             <key> <string>property_sheet_list</string> </key>
             <value>
-              <tuple>
-                <string>CreditCard</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml
index f5a76ae78d..6c6258809d 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml
@@ -38,17 +38,13 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Currency Exchange Cell</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
             <key> <string>base_category_list</string> </key>
             <value>
-              <tuple>
-                <string>price_currency</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -79,9 +75,7 @@
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
-              <tuple>
-                <string>Currency Exchange Cell</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml
index b321913d34..3e1aa3ad1a 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml
@@ -40,10 +40,13 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Currency</string>
-                <string>ERP5Currency</string>
-              </tuple>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -66,10 +69,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Currency Module</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string>Currency Module</string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency.xml
index ed8484d6fe..41e6bafb86 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Currency.xml
@@ -42,9 +42,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Currency Exchange Line</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Delivery%20Builder.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Delivery%20Builder.xml
index c0118d2180..d597c3f9c4 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Delivery%20Builder.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Delivery%20Builder.xml
@@ -40,9 +40,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Predicate Group</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Delivery%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Delivery%20Tool.xml
index decd66b87f..f4501a65a2 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Delivery%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Delivery%20Tool.xml
@@ -39,9 +39,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Delivery Builder</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Document.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Document.xml
index 0e13f41525..94c3ff888f 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Document.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Document.xml
@@ -42,6 +42,12 @@
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>document_icon.gif</string> </value>
@@ -62,10 +68,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Document</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Email.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Email.xml
index e8d1104998..df812a3ce9 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Email.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Email.xml
@@ -41,6 +41,12 @@
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>document_icon.gif</string> </value>
@@ -61,10 +67,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Email</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Favorite.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Favorite.xml
index e29cf6aece..34e67dde91 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Favorite.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Favorite.xml
@@ -29,6 +29,12 @@
               </tuple>
             </value>
         </item>
+        <item>
+            <key> <string>allowed_content_types</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>link_icon.gif</string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/File.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/File.xml
index 680b54f3ea..e090af6fda 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/File.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/File.xml
@@ -42,6 +42,12 @@
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>file_icon.gif</string> </value>
@@ -62,10 +68,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>File</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Folder.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Folder.xml
index eeec914c9b..b490202e20 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Folder.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Folder.xml
@@ -42,6 +42,12 @@
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>folder_icon.gif</string> </value>
@@ -62,10 +68,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>0</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Folder</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Image.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Image.xml
index a7d1788995..0969a73bb3 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Image.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Image.xml
@@ -44,6 +44,12 @@
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>document_icon.gif</string> </value>
@@ -64,10 +70,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Image</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Link.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Link.xml
index 6dcbf1596f..45401ce5f0 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Link.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Link.xml
@@ -29,6 +29,12 @@
               </tuple>
             </value>
         </item>
+        <item>
+            <key> <string>allowed_content_types</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>link_icon.gif</string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/News%20Item.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/News%20Item.xml
index 4d3f83ba46..1a261cdced 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/News%20Item.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/News%20Item.xml
@@ -29,6 +29,12 @@
               </tuple>
             </value>
         </item>
+        <item>
+            <key> <string>allowed_content_types</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>newsitem_icon.gif</string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Order%20Builder.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Order%20Builder.xml
index a7b2ff6ff9..ad5e93f580 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Order%20Builder.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Order%20Builder.xml
@@ -40,9 +40,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Predicate Group</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Order%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Order%20Tool.xml
index ee79080f58..83735c685b 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Order%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Order%20Tool.xml
@@ -39,9 +39,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Order Builder</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Organisation%20Module.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Organisation%20Module.xml
index 9207cdb928..d59ee0daa7 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Organisation%20Module.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Organisation%20Module.xml
@@ -50,9 +50,13 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Organisation</string>
-              </tuple>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -75,10 +79,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Organisation Module</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Organisation.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Organisation.xml
index 698ad1a111..435d614623 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Organisation.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Organisation.xml
@@ -47,19 +47,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Address</string>
-                <string>Bank Account</string>
-                <string>ChatAddress</string>
-                <string>Credit Card</string>
-                <string>Document</string>
-                <string>Email</string>
-                <string>Fax</string>
-                <string>File</string>
-                <string>Image</string>
-                <string>Link</string>
-                <string>Telephone</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Person%20Module.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Person%20Module.xml
index 2e4580c50f..2b6df5eb5c 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Person%20Module.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Person%20Module.xml
@@ -55,9 +55,13 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Person</string>
-              </tuple>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -80,10 +84,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Person Module</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Person.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Person.xml
index c00992193c..1dc7f54e55 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Person.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Person.xml
@@ -53,19 +53,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Address</string>
-                <string>Assignment</string>
-                <string>Bank Account</string>
-                <string>Career</string>
-                <string>ChatAddress</string>
-                <string>Credit Card</string>
-                <string>Email</string>
-                <string>Fax</string>
-                <string>File</string>
-                <string>Image</string>
-                <string>Telephone</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Predicate.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Predicate.xml
index 796114dbbe..beef031e7e 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Predicate.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Predicate.xml
@@ -36,9 +36,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Value Predicate</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Preference%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Preference%20Tool.xml
index 6d3d1dabdc..1c98c8c33f 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Preference%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Preference%20Tool.xml
@@ -39,9 +39,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Preference</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Route%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Route%20Tool.xml
index 1e7588914b..5e52485bbc 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Route%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Route%20Tool.xml
@@ -36,6 +36,18 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>allowed_content_types</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>folder_icon.gif</string> </value>
@@ -57,10 +69,22 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>0</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Route Tool</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Rule%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Rule%20Tool.xml
index 1cbcb4fd28..f3e68a1ebb 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Rule%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Rule%20Tool.xml
@@ -39,11 +39,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Delivery Rule</string>
-                <string>Invoice Rule</string>
-                <string>Invoice Transaction Rule</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -73,6 +69,12 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>0</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Rule Tool</string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Simulation%20Movement.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Simulation%20Movement.xml
index b734f6d0e5..060be17f4d 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Simulation%20Movement.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Simulation%20Movement.xml
@@ -42,9 +42,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Applied Rule</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Simulation%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Simulation%20Tool.xml
index 298a23c9d4..95cccb1441 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Simulation%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Simulation%20Tool.xml
@@ -36,9 +36,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Applied Rule</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Telephone.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Telephone.xml
index caa539103f..8afe4a6e8a 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Telephone.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Telephone.xml
@@ -43,6 +43,12 @@
               <tuple/>
             </value>
         </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>content_icon</string> </key>
             <value> <string>document_icon.gif</string> </value>
@@ -63,10 +69,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Telephone</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Template%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Template%20Tool.xml
index 50c3fdb206..0ba3c91ae0 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Template%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Template%20Tool.xml
@@ -41,9 +41,13 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Business Template</string>
-              </tuple>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>base_category_list</string> </key>
+            <value>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -66,10 +70,22 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>hidden_content_type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Template Tool</string> </value>
         </item>
+        <item>
+            <key> <string>property_sheet_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string>Template Tool</string> </value>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trash%20Bin.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trash%20Bin.xml
index a27ceea71d..3926272b8e 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trash%20Bin.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trash%20Bin.xml
@@ -46,9 +46,7 @@
         <item>
             <key> <string>base_category_list</string> </key>
             <value>
-              <tuple>
-                <string>causality</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -94,11 +92,7 @@
         <item>
             <key> <string>property_sheet_list</string> </key>
             <value>
-              <tuple>
-                <string>Base</string>
-                <string>SimpleItem</string>
-                <string>Task</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trash%20Tool.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trash%20Tool.xml
index 13e1cae5a7..138aaaf3c6 100755
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trash%20Tool.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trash%20Tool.xml
@@ -39,9 +39,7 @@
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
-              <tuple>
-                <string>Trash Bin</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
-- 
2.30.9