From 814fc8e74954a3c52e0490f227c8e7f0d2517683 Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Fri, 16 Oct 2009 06:08:17 +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@29723 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../net_salary_export.xml                     |  8 ++++
 .../net_salary_report.xml                     |  8 ++++
 .../payroll_tax_export.xml                    |  8 ++++
 .../payroll_tax_report.xml                    |  8 ++++
 .../portal_types/Annotation%20Line/view.xml   |  8 ++++
 .../Employment%20Contract%20Module/view.xml   |  8 ++++
 .../Employment%20Contract/view.xml            |  8 ++++
 .../portal_types/Pay%20Sheet%20Cell/view.xml  |  8 ++++
 .../Pay%20Sheet%20Line/quantity.xml           |  8 ++++
 .../portal_types/Pay%20Sheet%20Line/view.xml  |  8 ++++
 .../Pay%20Sheet%20Model%20Line/view.xml       |  8 ++++
 .../view_predicate.xml                        |  8 ++++
 .../Pay%20Sheet%20Model%20Module/view.xml     |  8 ++++
 .../view.xml                                  |  8 ++++
 .../Pay%20Sheet%20Model%20Slice/view.xml      |  8 ++++
 .../portal_types/Pay%20Sheet%20Model/view.xml |  8 ++++
 .../view_annotation_lines.xml                 |  8 ++++
 .../Pay%20Sheet%20Model/view_payment.xml      |  8 ++++
 .../Pay%20Sheet%20Model/view_profile.xml      |  8 ++++
 .../view_ratio_settings.xml                   |  8 ++++
 .../view_slice_settings.xml                   |  8 ++++
 .../Pay%20Sheet%20Transaction%20Line/view.xml |  8 ++++
 .../accounting_lines.xml                      |  8 ++++
 .../annotation_lines.xml                      |  8 ++++
 .../Pay%20Sheet%20Transaction/apply_model.xml |  8 ++++
 .../Pay%20Sheet%20Transaction/calcul.xml      |  8 ++++
 .../pay_sheet_print.xml                       |  8 ++++
 .../Pay%20Sheet%20Transaction/view.xml        |  8 ++++
 .../view_payment.xml                          |  8 ++++
 .../view_profile.xml                          |  8 ++++
 .../view_ratio_settings.xml                   |  8 ++++
 .../portal_types/Annotation%20Line.xml        | 42 -------------------
 .../Employment%20Contract%20Module.xml        | 42 -------------------
 .../portal_types/Employment%20Contract.xml    | 42 -------------------
 .../portal_types/Pay%20Sheet%20Cell.xml       | 42 -------------------
 .../portal_types/Pay%20Sheet%20Line.xml       | 42 -------------------
 .../Pay%20Sheet%20Model%20Cell.xml            | 42 -------------------
 .../Pay%20Sheet%20Model%20Line.xml            | 42 -------------------
 .../Pay%20Sheet%20Model%20Module.xml          | 42 -------------------
 .../Pay%20Sheet%20Model%20Ratio%20Line.xml    | 42 -------------------
 .../Pay%20Sheet%20Model%20Slice.xml           | 42 -------------------
 .../portal_types/Pay%20Sheet%20Model.xml      | 42 -------------------
 .../Pay%20Sheet%20Transaction%20Line.xml      | 42 -------------------
 .../Pay%20Sheet%20Transaction.xml             | 42 -------------------
 bt5/erp5_payroll/bt/change_log                |  3 ++
 bt5/erp5_payroll/bt/revision                  |  2 +-
 bt5/erp5_payroll/bt/template_action_path_list |  2 +-
 47 files changed, 253 insertions(+), 548 deletions(-)

diff --git a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/net_salary_export.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/net_salary_export.xml
index 9dfb84b8ac..0296a7190b 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/net_salary_export.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/net_salary_export.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_exchange</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_exchange</string> </value>
diff --git a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/net_salary_report.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/net_salary_report.xml
index 862dd2aada..ce4521e933 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/net_salary_report.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/net_salary_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_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/payroll_tax_export.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/payroll_tax_export.xml
index 6e22a3c36d..d04789b7eb 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/payroll_tax_export.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/payroll_tax_export.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_exchange</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_exchange</string> </value>
diff --git a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/payroll_tax_report.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/payroll_tax_report.xml
index 51e943248b..ed808c549c 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/payroll_tax_report.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Accounting%20Transaction%20Module/payroll_tax_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_payroll/ActionTemplateItem/portal_types/Annotation%20Line/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Annotation%20Line/view.xml
index c1db3064f5..b19248fdc0 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Annotation%20Line/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Annotation%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_payroll/ActionTemplateItem/portal_types/Employment%20Contract%20Module/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Employment%20Contract%20Module/view.xml
index 2a5229109c..2b90817fa4 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Employment%20Contract%20Module/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Employment%20Contract%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_payroll/ActionTemplateItem/portal_types/Employment%20Contract/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Employment%20Contract/view.xml
index bdf690c1e7..82a00c9405 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Employment%20Contract/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Employment%20Contract/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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Cell/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Cell/view.xml
index ce98ad2e8c..afb2cbb578 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Cell/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Cell/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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/quantity.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/quantity.xml
index c3e1b9b843..d3e89771f0 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/quantity.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/quantity.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/view.xml
index 7416bf0ec7..d6a6a7e249 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Line/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Line/view.xml
index ad74086f87..97d23970d4 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Line/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Line/view_predicate.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Line/view_predicate.xml
index d71b55dfea..cba3957f0f 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Line/view_predicate.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Line/view_predicate.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Module/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Module/view.xml
index f5e69b82cf..b49851046f 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Module/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%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_view</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>category</string> </key>
             <value> <string>object_view</string> </value>
diff --git a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Ratio%20Line/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Ratio%20Line/view.xml
index 920e28dfd2..a647fdc88c 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Ratio%20Line/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Ratio%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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Slice/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Slice/view.xml
index 80eed2f6f9..c5c78d820c 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Slice/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model%20Slice/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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view.xml
index 2e75ea8b1b..abf46ef1cf 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_annotation_lines.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_annotation_lines.xml
index d2d92779d4..e2e569e7fc 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_annotation_lines.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_annotation_lines.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_payment.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_payment.xml
index eedfdf7a01..669c1d7da7 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_payment.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_payment.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_profile.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_profile.xml
index 698432b291..848a65f4e0 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_profile.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_profile.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_ratio_settings.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_ratio_settings.xml
index 4dba0d1117..3cda98997f 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_ratio_settings.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_ratio_settings.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_slice_settings.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_slice_settings.xml
index 4c78b00594..4e4153aa92 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_slice_settings.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Model/view_slice_settings.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction%20Line/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction%20Line/view.xml
index b60ad9240b..fa93a97b6e 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction%20Line/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction%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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/accounting_lines.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/accounting_lines.xml
index dc381f6ba9..d7e9ec3c4d 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/accounting_lines.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/accounting_lines.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/annotation_lines.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/annotation_lines.xml
index fcaba92e3c..eee57e1c3a 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/annotation_lines.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/annotation_lines.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/apply_model.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/apply_model.xml
index c4919c3f30..f79412e738 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/apply_model.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/apply_model.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml
index 196e1f45e0..e489fc69bf 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/pay_sheet_print.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/pay_sheet_print.xml
index 0988a4b9ee..a5926cc25d 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/pay_sheet_print.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/pay_sheet_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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view.xml
index 5bc4aa5c36..5224a22030 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_payment.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_payment.xml
index 7fda0e67c1..fb84826437 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_payment.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_payment.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_profile.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_profile.xml
index 87266a7b26..5f2cffec17 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_profile.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_profile.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_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_ratio_settings.xml b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_ratio_settings.xml
index bc46ae1328..d4c014f825 100644
--- a/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_ratio_settings.xml
+++ b/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view_ratio_settings.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_payroll/PortalTypeTemplateItem/portal_types/Annotation%20Line.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Annotation%20Line.xml
index f7057aebe0..b54f8a76fc 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Annotation%20Line.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Annotation%20Line.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>accounting_transaction_line_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>Annotation Line</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>redirect_script</string> </key>
             <value> <string></string> </value>
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract%20Module.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract%20Module.xml
index 68ba465b24..1c9bf1423d 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract%20Module.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract%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,24 +28,6 @@
               </dictionary>
             </value>
         </item>
-        <item>
-            <key> <string>_roles</string> </key>
-            <value>
-              <list/>
-            </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>
@@ -110,22 +80,10 @@
               </tuple>
             </value>
         </item>
-        <item>
-            <key> <string>hidden_content_type_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Employment Contract Module</string> </value>
         </item>
-        <item>
-            <key> <string>property_sheet_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract.xml
index c90f0d6a6e..9a5a9d0f70 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract.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>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>
@@ -69,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>Employment Contract</string> </value>
@@ -87,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></string> </value>
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Cell.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Cell.xml
index e1b3d547e8..aa3ce70633 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Cell.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Cell.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>file_icon.gif</string> </value>
@@ -72,12 +42,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>Pay Sheet Cell</string> </value>
@@ -90,12 +54,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_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Line.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Line.xml
index 10ad53254c..f8a2906622 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Line.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Line.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>file_icon.gif</string> </value>
@@ -91,12 +61,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>Pay Sheet Line</string> </value>
@@ -109,12 +73,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_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Cell.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Cell.xml
index ce70e6bf82..73471f86d9 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Cell.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Cell.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>file_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>Pay Sheet Model Cell</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_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Line.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Line.xml
index 60aa1e437a..81beca2978 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Line.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Line.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>file_icon.gif</string> </value>
@@ -90,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>Pay Sheet Model Line</string> </value>
@@ -108,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>redirect_script</string> </key>
             <value> <string></string> </value>
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Module.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Module.xml
index 73d259709a..928aaa4195 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Module.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%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>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>
@@ -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>Pay Sheet Model 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_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Ratio%20Line.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Ratio%20Line.xml
index 07f12d53d3..92be8fd7aa 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Ratio%20Line.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Ratio%20Line.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>file_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>Pay Sheet Model Ratio Line</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>redirect_script</string> </key>
             <value> <string></string> </value>
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Slice.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Slice.xml
index cbf833f817..0557db9690 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Slice.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model%20Slice.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>file_icon.gif</string> </value>
@@ -69,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>Pay Sheet Model Slice</string> </value>
@@ -87,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>redirect_script</string> </key>
             <value> <string></string> </value>
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model.xml
index 676fd81af7..6ad70f7526 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model.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>file_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>Pay Sheet Model</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_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction%20Line.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction%20Line.xml
index cb4913188d..6133216093 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction%20Line.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction%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>file_icon.gif</string> </value>
@@ -72,12 +42,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>Pay Sheet Transaction Line</string> </value>
@@ -90,12 +54,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_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction.xml
index f1adf6c0cc..500ca8d852 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction.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,12 +28,6 @@
               </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>
@@ -56,18 +38,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>document_icon.gif</string> </value>
@@ -102,12 +72,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>Pay Sheet Transaction</string> </value>
@@ -120,12 +84,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_payroll/bt/change_log b/bt5/erp5_payroll/bt/change_log
index edfcf2ce0b..4682ec656c 100644
--- a/bt5/erp5_payroll/bt/change_log
+++ b/bt5/erp5_payroll/bt/change_log
@@ -1,3 +1,6 @@
+2009-10-16 yusei
+* Update for the changes of new portal types of portal types.
+
 2009-09-07 yusuke
 * Replace ERP5Report to ERP5Form and ReportBox
 
diff --git a/bt5/erp5_payroll/bt/revision b/bt5/erp5_payroll/bt/revision
index 1bc902939e..c97fea13d8 100644
--- a/bt5/erp5_payroll/bt/revision
+++ b/bt5/erp5_payroll/bt/revision
@@ -1 +1 @@
-531
\ No newline at end of file
+533
\ No newline at end of file
diff --git a/bt5/erp5_payroll/bt/template_action_path_list b/bt5/erp5_payroll/bt/template_action_path_list
index f9b54f2a9c..ed26ffa901 100644
--- a/bt5/erp5_payroll/bt/template_action_path_list
+++ b/bt5/erp5_payroll/bt/template_action_path_list
@@ -28,4 +28,4 @@ Pay Sheet Transaction | pay_sheet_print
 Pay Sheet Transaction | view
 Pay Sheet Transaction | view_payment
 Pay Sheet Transaction | view_profile
-Pay Sheet Transaction | view_ratio_settings
+Pay Sheet Transaction | view_ratio_settings
\ No newline at end of file
-- 
2.30.9