From d50a0d97e1c1344b28e60ec607c9f565d6392cdf Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Fri, 16 Oct 2009 04:45:33 +0000
Subject: [PATCH] 2009-10-16 rafael * Update for the changes of new portal
 types of portal types.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29711 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Preference/express_preference.xml         |  8 ++++
 .../portal_types/Wizard%20Tool/view.xml       |  8 ++++
 .../portal_types/Wizard%20Tool.xml            | 42 -------------------
 bt5/erp5_wizard/bt/change_log                 |  3 ++
 bt5/erp5_wizard/bt/revision                   |  2 +-
 bt5/erp5_wizard/bt/template_local_role_list   |  0
 .../bt/template_portal_type_role_list         |  0
 .../template_registered_skin_selection_list   |  0
 8 files changed, 20 insertions(+), 43 deletions(-)
 create mode 100644 bt5/erp5_wizard/bt/template_local_role_list
 create mode 100644 bt5/erp5_wizard/bt/template_portal_type_role_list
 create mode 100644 bt5/erp5_wizard/bt/template_registered_skin_selection_list

diff --git a/bt5/erp5_wizard/ActionTemplateItem/portal_types/Preference/express_preference.xml b/bt5/erp5_wizard/ActionTemplateItem/portal_types/Preference/express_preference.xml
index 0f1b5d035a..477224374f 100644
--- a/bt5/erp5_wizard/ActionTemplateItem/portal_types/Preference/express_preference.xml
+++ b/bt5/erp5_wizard/ActionTemplateItem/portal_types/Preference/express_preference.xml
@@ -15,6 +15,14 @@
               <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_view</string> </value>
diff --git a/bt5/erp5_wizard/ActionTemplateItem/portal_types/Wizard%20Tool/view.xml b/bt5/erp5_wizard/ActionTemplateItem/portal_types/Wizard%20Tool/view.xml
index 34c8214f91..46337cf177 100644
--- a/bt5/erp5_wizard/ActionTemplateItem/portal_types/Wizard%20Tool/view.xml
+++ b/bt5/erp5_wizard/ActionTemplateItem/portal_types/Wizard%20Tool/view.xml
@@ -15,6 +15,14 @@
               <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_view</string> </value>
diff --git a/bt5/erp5_wizard/PortalTypeTemplateItem/portal_types/Wizard%20Tool.xml b/bt5/erp5_wizard/PortalTypeTemplateItem/portal_types/Wizard%20Tool.xml
index a642fa9d1c..a72e958c51 100644
--- a/bt5/erp5_wizard/PortalTypeTemplateItem/portal_types/Wizard%20Tool.xml
+++ b/bt5/erp5_wizard/PortalTypeTemplateItem/portal_types/Wizard%20Tool.xml
@@ -9,18 +9,6 @@
     </pickle>
     <pickle>
       <dictionary>
-        <item>
-            <key> <string>_actions</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_aliases</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
         <item>
             <key> <string>_property_domain_dict</string> </key>
             <value>
@@ -40,28 +28,10 @@
               </dictionary>
             </value>
         </item>
-        <item>
-            <key> <string>_roles</string> </key>
-            <value>
-              <list/>
-            </value>
-        </item>
         <item>
             <key> <string>acquire_local_roles</string> </key>
             <value> <int>1</int> </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>
@@ -88,12 +58,6 @@
               <tuple/>
             </value>
         </item>
-        <item>
-            <key> <string>hidden_content_type_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Wizard Tool</string> </value>
@@ -106,12 +70,6 @@
             <key> <string>permission</string> </key>
             <value> <string></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/bt5/erp5_wizard/bt/change_log b/bt5/erp5_wizard/bt/change_log
index c3db532fae..1990f7a555 100644
--- a/bt5/erp5_wizard/bt/change_log
+++ b/bt5/erp5_wizard/bt/change_log
@@ -1,3 +1,6 @@
+2009-10-16 rafael
+* Update for the changes of new portal types of portal types.
+
 2009-04-18 Kazuhiko
 * Version 5.4.1
 
diff --git a/bt5/erp5_wizard/bt/revision b/bt5/erp5_wizard/bt/revision
index b5db9c417a..c2807f7f3c 100644
--- a/bt5/erp5_wizard/bt/revision
+++ b/bt5/erp5_wizard/bt/revision
@@ -1 +1 @@
-139
\ No newline at end of file
+140
\ No newline at end of file
diff --git a/bt5/erp5_wizard/bt/template_local_role_list b/bt5/erp5_wizard/bt/template_local_role_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_wizard/bt/template_portal_type_role_list b/bt5/erp5_wizard/bt/template_portal_type_role_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_wizard/bt/template_registered_skin_selection_list b/bt5/erp5_wizard/bt/template_registered_skin_selection_list
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.30.9