From 70404a9ba35140a869d995108190b71eea1be1f0 Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Fri, 16 Oct 2009 06:51:20 +0000
Subject: [PATCH] 2009-10-16 yusei * Update for the changes of new portal types
 of portal types.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29727 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Computer%20Module/view.xml   | 10 ++--
 .../Computer%20Partition/view.xml             | 10 ++--
 .../Computer/computer_partition.xml           | 10 ++--
 .../portal_types/Computer/view.xml            | 10 ++--
 .../Internet%20Protocol%20Address/view.xml    | 10 ++--
 .../portal_types/Computer%20Module.xml        | 48 -------------------
 .../portal_types/Computer%20Partition.xml     | 48 -------------------
 .../portal_types/Computer.xml                 | 48 -------------------
 .../Internet%20Protocol%20Address.xml         | 48 -------------------
 .../bt/change_log                             |  3 ++
 bt5/erp5_computer_immobilisation/bt/revision  |  2 +-
 .../bt/template_local_role_list               |  0
 .../bt/template_portal_type_role_list         |  0
 .../template_registered_skin_selection_list   |  0
 .../Open%20Internal%20Order%20Module/view.xml |  8 ++++
 .../apply_trade_condition.xml                 |  8 ++++
 .../detailed_report.xml                       |  8 ++++
 .../jump_to_related_sale_order.xml            |  8 ++++
 .../Open%20Internal%20Order/order_print.xml   |  8 ++++
 .../Open%20Internal%20Order/order_summary.xml |  8 ++++
 .../payment_condition.xml                     |  8 ++++
 .../Open%20Internal%20Order/profile_view.xml  |  8 ++++
 .../reference_generate.xml                    |  8 ++++
 .../Open%20Internal%20Order/view.xml          |  8 ++++
 .../Open%20Internal%20Order/view_stock.xml    |  8 ++++
 .../portal_types/Open%20Order%20Rule/view.xml |  8 ++++
 .../Open%20Purchase%20Order%20Module/view.xml |  8 ++++
 .../apply_trade_condition.xml                 |  8 ++++
 .../detailed_report.xml                       |  8 ++++
 .../jump_to_related_sale_order.xml            |  8 ++++
 .../Open%20Purchase%20Order/order_print.xml   |  8 ++++
 .../Open%20Purchase%20Order/order_summary.xml |  8 ++++
 .../payment_condition.xml                     |  8 ++++
 .../Open%20Purchase%20Order/profile_view.xml  |  8 ++++
 .../reference_generate.xml                    |  8 ++++
 .../Open%20Purchase%20Order/view.xml          |  8 ++++
 .../Open%20Purchase%20Order/view_stock.xml    |  8 ++++
 .../Open%20Sale%20Order%20Line/price_view.xml |  8 ++++
 .../quantity_view.xml                         |  8 ++++
 .../Open%20Sale%20Order%20Line/view.xml       |  8 ++++
 .../Open%20Sale%20Order%20Module/view.xml     |  8 ++++
 .../apply_trade_condition.xml                 |  8 ++++
 .../Open%20Sale%20Order/detailed_report.xml   |  8 ++++
 .../jump_to_related_sale_order.xml            |  8 ++++
 .../Open%20Sale%20Order/order_print.xml       |  8 ++++
 .../Open%20Sale%20Order/order_summary.xml     |  8 ++++
 .../Open%20Sale%20Order/payment_condition.xml |  8 ++++
 .../Open%20Sale%20Order/profile_view.xml      |  8 ++++
 .../reference_generate.xml                    |  8 ++++
 .../portal_types/Open%20Sale%20Order/view.xml |  8 ++++
 .../Open%20Sale%20Order/view_stock.xml        |  8 ++++
 .../Periodicity%20Line/periodicity.xml        |  8 ++++
 .../portal_types/Periodicity%20Line/view.xml  |  8 ++++
 .../periodicity_line_list.xml                 |  8 ++++
 .../Open%20Internal%20Order%20Module.xml      | 44 +----------------
 .../portal_types/Open%20Internal%20Order.xml  | 42 ----------------
 .../portal_types/Open%20Order%20Rule.xml      | 42 ----------------
 .../Open%20Purchase%20Order%20Module.xml      | 44 +----------------
 .../portal_types/Open%20Purchase%20Order.xml  | 42 ----------------
 .../Open%20Sale%20Order%20Line.xml            | 42 ----------------
 .../Open%20Sale%20Order%20Module.xml          | 44 +----------------
 .../portal_types/Open%20Sale%20Order.xml      | 42 ----------------
 .../portal_types/Periodicity%20Line.xml       | 42 ----------------
 bt5/erp5_open_trade/bt/change_log             |  3 ++
 bt5/erp5_open_trade/bt/revision               |  2 +-
 .../template_registered_skin_selection_list   |  0
 66 files changed, 361 insertions(+), 595 deletions(-)
 create mode 100644 bt5/erp5_computer_immobilisation/bt/template_local_role_list
 create mode 100644 bt5/erp5_computer_immobilisation/bt/template_portal_type_role_list
 create mode 100644 bt5/erp5_computer_immobilisation/bt/template_registered_skin_selection_list
 create mode 100644 bt5/erp5_open_trade/bt/template_registered_skin_selection_list

diff --git a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer%20Module/view.xml b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer%20Module/view.xml
index 633e6c17d7..868b21b3b5 100644
--- a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer%20Module/view.xml
+++ b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer%20Module/view.xml
@@ -10,15 +10,17 @@
     <pickle>
       <dictionary>
         <item>
-            <key> <string>__ac_local_roles__</string> </key>
+            <key> <string>action</string> </key>
             <value>
-              <none/>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
         <item>
-            <key> <string>action</string> </key>
+            <key> <string>categories</string> </key>
             <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+              <tuple>
+                <string>action_type/object_list</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer%20Partition/view.xml b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer%20Partition/view.xml
index e594afe3f9..dac97a7904 100644
--- a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer%20Partition/view.xml
+++ b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer%20Partition/view.xml
@@ -10,15 +10,17 @@
     <pickle>
       <dictionary>
         <item>
-            <key> <string>__ac_local_roles__</string> </key>
+            <key> <string>action</string> </key>
             <value>
-              <none/>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
         <item>
-            <key> <string>action</string> </key>
+            <key> <string>categories</string> </key>
             <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer/computer_partition.xml b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer/computer_partition.xml
index 816e3fc7cc..9208a0a682 100644
--- a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer/computer_partition.xml
+++ b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer/computer_partition.xml
@@ -10,15 +10,17 @@
     <pickle>
       <dictionary>
         <item>
-            <key> <string>__ac_local_roles__</string> </key>
+            <key> <string>action</string> </key>
             <value>
-              <none/>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
         <item>
-            <key> <string>action</string> </key>
+            <key> <string>categories</string> </key>
             <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer/view.xml b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer/view.xml
index e594afe3f9..dac97a7904 100644
--- a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer/view.xml
+++ b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Computer/view.xml
@@ -10,15 +10,17 @@
     <pickle>
       <dictionary>
         <item>
-            <key> <string>__ac_local_roles__</string> </key>
+            <key> <string>action</string> </key>
             <value>
-              <none/>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
         <item>
-            <key> <string>action</string> </key>
+            <key> <string>categories</string> </key>
             <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Internet%20Protocol%20Address/view.xml b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Internet%20Protocol%20Address/view.xml
index 95a004c0c4..6f7a3062c0 100644
--- a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Internet%20Protocol%20Address/view.xml
+++ b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Internet%20Protocol%20Address/view.xml
@@ -10,15 +10,17 @@
     <pickle>
       <dictionary>
         <item>
-            <key> <string>__ac_local_roles__</string> </key>
+            <key> <string>action</string> </key>
             <value>
-              <none/>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
         <item>
-            <key> <string>action</string> </key>
+            <key> <string>categories</string> </key>
             <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer%20Module.xml b/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer%20Module.xml
index 78bca50701..9539d1d576 100644
--- a/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer%20Module.xml
+++ b/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer%20Module.xml
@@ -9,24 +9,6 @@
     </pickle>
     <pickle>
       <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <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>
@@ -46,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>0</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>
@@ -94,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>Computer Module</string> </value>
@@ -112,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_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer%20Partition.xml b/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer%20Partition.xml
index 9717ec93aa..27fd0d5475 100644
--- a/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer%20Partition.xml
+++ b/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer%20Partition.xml
@@ -9,46 +9,10 @@
     </pickle>
     <pickle>
       <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_actions</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_aliases</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_roles</string> </key>
-            <value>
-              <list/>
-            </value>
-        </item>
         <item>
             <key> <string>acquire_local_roles</string> </key>
             <value> <int>0</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>document_icon.gif</string> </value>
@@ -77,12 +41,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>Computer Partition</string> </value>
@@ -95,12 +53,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>Computer Partition</string> </value>
diff --git a/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer.xml b/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer.xml
index 072ed942ce..ea8913495d 100644
--- a/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer.xml
+++ b/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Computer.xml
@@ -9,24 +9,6 @@
     </pickle>
     <pickle>
       <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <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>
@@ -46,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>0</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>document_icon.gif</string> </value>
@@ -96,12 +60,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>Computer</string> </value>
@@ -114,12 +72,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>Computer</string> </value>
diff --git a/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Internet%20Protocol%20Address.xml b/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Internet%20Protocol%20Address.xml
index 27b74ef257..f56a68db85 100644
--- a/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Internet%20Protocol%20Address.xml
+++ b/bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Internet%20Protocol%20Address.xml
@@ -9,46 +9,10 @@
     </pickle>
     <pickle>
       <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_actions</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_aliases</string> </key>
-            <value>
-              <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></string> </value>
@@ -75,12 +39,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>Internet Protocol Address</string> </value>
@@ -93,12 +51,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>Internet Protocol Address</string> </value>
diff --git a/bt5/erp5_computer_immobilisation/bt/change_log b/bt5/erp5_computer_immobilisation/bt/change_log
index 6900ac5db5..3b57d8df04 100644
--- a/bt5/erp5_computer_immobilisation/bt/change_log
+++ b/bt5/erp5_computer_immobilisation/bt/change_log
@@ -1,3 +1,6 @@
+2009-10-16 yusei
+* Update for the changes of new portal types of portal types.
+
 2008-7-22 vincentd
 * Show free partition in listbox
 * Allow to chose group in partition and computer
diff --git a/bt5/erp5_computer_immobilisation/bt/revision b/bt5/erp5_computer_immobilisation/bt/revision
index 9d607966b7..3cacc0b93c 100644
--- a/bt5/erp5_computer_immobilisation/bt/revision
+++ b/bt5/erp5_computer_immobilisation/bt/revision
@@ -1 +1 @@
-11
\ No newline at end of file
+12
\ No newline at end of file
diff --git a/bt5/erp5_computer_immobilisation/bt/template_local_role_list b/bt5/erp5_computer_immobilisation/bt/template_local_role_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_computer_immobilisation/bt/template_portal_type_role_list b/bt5/erp5_computer_immobilisation/bt/template_portal_type_role_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_computer_immobilisation/bt/template_registered_skin_selection_list b/bt5/erp5_computer_immobilisation/bt/template_registered_skin_selection_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Module/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Module/view.xml
index 965018ebc6..3be583102d 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Module/view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Module/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_list</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_list</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/apply_trade_condition.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/apply_trade_condition.xml
index 0eedf56687..0606775505 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/apply_trade_condition.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/apply_trade_condition.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_action</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_action</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/detailed_report.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/detailed_report.xml
index 0c1359a8bb..669648d4ec 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/detailed_report.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/detailed_report.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_report</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_report</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/jump_to_related_sale_order.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/jump_to_related_sale_order.xml
index 0796df497f..bf4019fbdf 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/jump_to_related_sale_order.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/jump_to_related_sale_order.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_jump</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_jump</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/order_print.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/order_print.xml
index 57f83c30da..3ae1ffb9bb 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/order_print.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/order_print.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_print</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_print</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/order_summary.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/order_summary.xml
index 02d1f0481f..4ddd80e18a 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/order_summary.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/order_summary.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_report</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_report</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/payment_condition.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/payment_condition.xml
index 3d7b78bee5..f061668141 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/payment_condition.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/payment_condition.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_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/profile_view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/profile_view.xml
index 70c8a9fd14..a2e52ae475 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/profile_view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/profile_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_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/reference_generate.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/reference_generate.xml
index 4875f861b9..b3fdf0d642 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/reference_generate.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/reference_generate.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_action</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_action</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/view.xml
index 823128142b..b5c7d56892 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/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_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/view_stock.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/view_stock.xml
index e11a5e0a51..9ebc7ba482 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/view_stock.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order/view_stock.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_open_trade/ActionTemplateItem/portal_types/Open%20Order%20Rule/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Order%20Rule/view.xml
index 4d916ec8e1..2b7a0e0ab4 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Order%20Rule/view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Order%20Rule/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_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order%20Module/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order%20Module/view.xml
index 2e917406a8..0044696c71 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order%20Module/view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order%20Module/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_list</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_list</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/apply_trade_condition.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/apply_trade_condition.xml
index 0eedf56687..0606775505 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/apply_trade_condition.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/apply_trade_condition.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_action</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_action</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/detailed_report.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/detailed_report.xml
index 0c1359a8bb..669648d4ec 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/detailed_report.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/detailed_report.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_report</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_report</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/jump_to_related_sale_order.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/jump_to_related_sale_order.xml
index 0796df497f..bf4019fbdf 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/jump_to_related_sale_order.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/jump_to_related_sale_order.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_jump</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_jump</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/order_print.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/order_print.xml
index 57f83c30da..3ae1ffb9bb 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/order_print.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/order_print.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_print</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_print</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/order_summary.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/order_summary.xml
index 02d1f0481f..4ddd80e18a 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/order_summary.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/order_summary.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_report</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_report</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/payment_condition.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/payment_condition.xml
index 3d7b78bee5..f061668141 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/payment_condition.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/payment_condition.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_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/profile_view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/profile_view.xml
index 70c8a9fd14..a2e52ae475 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/profile_view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/profile_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_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/reference_generate.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/reference_generate.xml
index 4875f861b9..b3fdf0d642 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/reference_generate.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/reference_generate.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_action</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_action</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/view.xml
index 823128142b..b5c7d56892 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/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_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/view_stock.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/view_stock.xml
index e11a5e0a51..9ebc7ba482 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/view_stock.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order/view_stock.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_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/price_view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/price_view.xml
index 1ea51ef4c4..6ecf8f090e 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/price_view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/price_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_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/quantity_view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/quantity_view.xml
index 0d4f0be13b..c3372f95e7 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/quantity_view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/quantity_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_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/view.xml
index 122d4151c8..f3dcf825eb 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Line/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_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Module/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Module/view.xml
index 6f82251777..f032be0594 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Module/view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Module/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_list</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_list</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/apply_trade_condition.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/apply_trade_condition.xml
index 0eedf56687..0606775505 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/apply_trade_condition.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/apply_trade_condition.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_action</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_action</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/detailed_report.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/detailed_report.xml
index 0c1359a8bb..669648d4ec 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/detailed_report.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/detailed_report.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_report</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_report</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/jump_to_related_sale_order.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/jump_to_related_sale_order.xml
index 0796df497f..bf4019fbdf 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/jump_to_related_sale_order.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/jump_to_related_sale_order.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_jump</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_jump</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/order_print.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/order_print.xml
index 57f83c30da..3ae1ffb9bb 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/order_print.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/order_print.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_print</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_print</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/order_summary.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/order_summary.xml
index 02d1f0481f..4ddd80e18a 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/order_summary.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/order_summary.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_report</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_report</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/payment_condition.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/payment_condition.xml
index 3d7b78bee5..f061668141 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/payment_condition.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/payment_condition.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_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/profile_view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/profile_view.xml
index 70c8a9fd14..a2e52ae475 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/profile_view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/profile_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_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/reference_generate.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/reference_generate.xml
index 4875f861b9..b3fdf0d642 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/reference_generate.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/reference_generate.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_action</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_action</string> </value>
diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/view.xml
index 823128142b..b5c7d56892 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/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_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/view_stock.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/view_stock.xml
index e11a5e0a51..9ebc7ba482 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/view_stock.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order/view_stock.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_open_trade/ActionTemplateItem/portal_types/Periodicity%20Line/periodicity.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Periodicity%20Line/periodicity.xml
index 978b1987ca..c56a6b71be 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Periodicity%20Line/periodicity.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Periodicity%20Line/periodicity.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_open_trade/ActionTemplateItem/portal_types/Periodicity%20Line/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Periodicity%20Line/view.xml
index ab84f12786..cc0333b22e 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Periodicity%20Line/view.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Periodicity%20Line/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_open_trade/ActionTemplateItem/portal_types/Sale%20Trade%20Condition/periodicity_line_list.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Sale%20Trade%20Condition/periodicity_line_list.xml
index 283c6eb304..c6233e513d 100644
--- a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Sale%20Trade%20Condition/periodicity_line_list.xml
+++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Sale%20Trade%20Condition/periodicity_line_list.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_open_trade/PortalTypeTemplateItem/portal_types/Open%20Internal%20Order%20Module.xml b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Internal%20Order%20Module.xml
index 5590a53393..14d5497b89 100644
--- a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Internal%20Order%20Module.xml
+++ b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Internal%20Order%20Module.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>0</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>
@@ -95,7 +65,7 @@
   An ERP5 Binder document class will eventually be defined\n
   in order to implement a binder of documents which can itself\n
   be categorized.\n
-  </string> </value>
+</string> </value>
         </item>
         <item>
             <key> <string>factory</string> </key>
@@ -113,12 +83,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>Open Internal Order Module</string> </value>
@@ -131,12 +95,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_open_trade/PortalTypeTemplateItem/portal_types/Open%20Internal%20Order.xml b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Internal%20Order.xml
index c1b073f90e..e6b2f20918 100644
--- a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Internal%20Order.xml
+++ b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Internal%20Order.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>0</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>organisation_icon.gif</string> </value>
@@ -91,12 +61,6 @@ It defines what will be sold and how often and how many.</string> </value>
               </tuple>
             </value>
         </item>
-        <item>
-            <key> <string>hidden_content_type_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Open Internal Order</string> </value>
@@ -109,12 +73,6 @@ It defines what will be sold and how often and how many.</string> </value>
             <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>redirect_script</string> </key>
             <value> <string></string> </value>
diff --git a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Order%20Rule.xml b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Order%20Rule.xml
index d445509e9a..9b3261cb18 100644
--- a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Order%20Rule.xml
+++ b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Order%20Rule.xml
@@ -9,40 +9,10 @@
     </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>_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>rule_icon.gif</string> </value>
@@ -71,12 +41,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>Open Order Rule</string> </value>
@@ -89,12 +53,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_open_trade/PortalTypeTemplateItem/portal_types/Open%20Purchase%20Order%20Module.xml b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Purchase%20Order%20Module.xml
index 6615d127b3..5733e8c5c2 100644
--- a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Purchase%20Order%20Module.xml
+++ b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Purchase%20Order%20Module.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>0</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>
@@ -95,7 +65,7 @@
   An ERP5 Binder document class will eventually be defined\n
   in order to implement a binder of documents which can itself\n
   be categorized.\n
-  </string> </value>
+</string> </value>
         </item>
         <item>
             <key> <string>factory</string> </key>
@@ -113,12 +83,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>Open Purchase Order Module</string> </value>
@@ -131,12 +95,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_open_trade/PortalTypeTemplateItem/portal_types/Open%20Purchase%20Order.xml b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Purchase%20Order.xml
index 1218ff3c26..c8358f21be 100644
--- a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Purchase%20Order.xml
+++ b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Purchase%20Order.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>0</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>organisation_icon.gif</string> </value>
@@ -91,12 +61,6 @@ It defines what will be sold and how often and how many.</string> </value>
               </tuple>
             </value>
         </item>
-        <item>
-            <key> <string>hidden_content_type_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Open Purchase Order</string> </value>
@@ -109,12 +73,6 @@ It defines what will be sold and how often and how many.</string> </value>
             <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>redirect_script</string> </key>
             <value> <string></string> </value>
diff --git a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order%20Line.xml b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order%20Line.xml
index 790b74f6a2..ff397369f0 100644
--- a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order%20Line.xml
+++ b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order%20Line.xml
@@ -9,40 +9,10 @@
     </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>_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>organisation_icon.gif</string> </value>
@@ -71,12 +41,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>Open Sale Order Line</string> </value>
@@ -89,12 +53,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>redirect_script</string> </key>
             <value> <string></string> </value>
diff --git a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order%20Module.xml b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order%20Module.xml
index 8c85b8f5b7..bfdbbf2c5b 100644
--- a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order%20Module.xml
+++ b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order%20Module.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>0</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>
@@ -95,7 +65,7 @@
   An ERP5 Binder document class will eventually be defined\n
   in order to implement a binder of documents which can itself\n
   be categorized.\n
-  </string> </value>
+</string> </value>
         </item>
         <item>
             <key> <string>factory</string> </key>
@@ -113,12 +83,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>Open Sale Order Module</string> </value>
@@ -131,12 +95,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_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order.xml b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order.xml
index 204630936b..eb676dc4eb 100644
--- a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order.xml
+++ b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Open%20Sale%20Order.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>0</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>organisation_icon.gif</string> </value>
@@ -91,12 +61,6 @@ It defines what will be sold and how often and how many.</string> </value>
               </tuple>
             </value>
         </item>
-        <item>
-            <key> <string>hidden_content_type_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Open Sale Order</string> </value>
@@ -109,12 +73,6 @@ It defines what will be sold and how often and how many.</string> </value>
             <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>redirect_script</string> </key>
             <value> <string></string> </value>
diff --git a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Periodicity%20Line.xml b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Periodicity%20Line.xml
index 3c51394eab..a46eb9b31b 100644
--- a/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Periodicity%20Line.xml
+++ b/bt5/erp5_open_trade/PortalTypeTemplateItem/portal_types/Periodicity%20Line.xml
@@ -9,24 +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>_roles</string> </key>
-            <value>
-              <list/>
-            </value>
-        </item>
         <item>
             <key> <string>acquire_local_roles</string> </key>
             <value> <int>1</int> </value>
@@ -37,18 +19,6 @@
               <tuple/>
             </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>order_line_icon.gif</string> </value>
@@ -79,12 +49,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>Periodicity Line</string> </value>
@@ -97,12 +61,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_open_trade/bt/change_log b/bt5/erp5_open_trade/bt/change_log
index 3af4f0ec37..927e17c27e 100644
--- a/bt5/erp5_open_trade/bt/change_log
+++ b/bt5/erp5_open_trade/bt/change_log
@@ -1,3 +1,6 @@
+2009-10-16 yusei
+* Update for the changes of new portal types of portal types.
+
 2009-08-24 Jérome
 * move previous tax implementation in compatibility business template.
 
diff --git a/bt5/erp5_open_trade/bt/revision b/bt5/erp5_open_trade/bt/revision
index 301160a930..f11c82a4cb 100644
--- a/bt5/erp5_open_trade/bt/revision
+++ b/bt5/erp5_open_trade/bt/revision
@@ -1 +1 @@
-8
\ No newline at end of file
+9
\ No newline at end of file
diff --git a/bt5/erp5_open_trade/bt/template_registered_skin_selection_list b/bt5/erp5_open_trade/bt/template_registered_skin_selection_list
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.30.9