From 075d066874231346ad7a4588eea4d15bef24e60b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Mon, 28 Nov 2011 16:20:26 +0100
Subject: [PATCH] xml changes

---
 .../portal_categories/contribution_share.xml  |  50 +-
 .../portal_categories/salary_range.xml        |   4 -
 .../portal_categories/source_grade.xml        |   4 -
 .../paysheet_model_module.xml                 | 604 ------------------
 .../portal_categories/base_amount/payroll.xml |  47 ++
 .../base_amount/payroll/l10n.xml              |  47 ++
 .../contribution_share/employee.xml           |  46 ++
 .../contribution_share/employer.xml           |  46 ++
 .../portal_deliveries/pay_sheet_builder.xml   |   6 +-
 .../property_movement_group_on_delivery.xml   |   6 +-
 .../property_movement_group_on_line.xml       |   6 +-
 .../pay_sheet_transaction_builder.xml         |   4 -
 .../portal_types/Annotation%20Line.xml        |  14 +-
 .../Employment%20Contract%20Module.xml        |   2 +-
 .../portal_types/Employment%20Contract.xml    |   2 +-
 .../portal_types/Pay%20Sheet%20Cell.xml       |   6 +-
 .../portal_types/Pay%20Sheet%20Line.xml       |  14 +-
 .../Pay%20Sheet%20Model%20Cell.xml            |   6 +-
 .../Pay%20Sheet%20Model%20Line.xml            |  14 +-
 .../Pay%20Sheet%20Model%20Module.xml          |   2 +-
 .../Pay%20Sheet%20Model%20Ratio%20Line.xml    |  14 +-
 .../Pay%20Sheet%20Model%20Slice.xml           |   6 +-
 .../portal_types/Pay%20Sheet%20Model.xml      |  14 +-
 .../Pay%20Sheet%20Transaction%20Line.xml      |   6 +-
 .../Pay%20Sheet%20Transaction.xml             |  34 +-
 .../workflow_chain_type.xml                   |   2 +-
 bt5/erp5_payroll/bt/revision                  |   2 +-
 .../template_portal_type_workflow_chain_list  |   2 +-
 .../base_amount/payroll/l10n/fr/base/gmp.xml  |  30 +
 bt5/erp5_payroll_l10n_fr/bt/revision          |   2 +-
 30 files changed, 384 insertions(+), 658 deletions(-)
 create mode 100644 bt5/erp5_payroll_l10n_fr/PathTemplateItem/portal_categories/base_amount/payroll/l10n/fr/base/gmp.xml

diff --git a/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/contribution_share.xml b/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/contribution_share.xml
index 1efc22f363..a9a5450213 100644
--- a/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/contribution_share.xml
+++ b/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/contribution_share.xml
@@ -6,6 +6,52 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_Add_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Add_portal_folders_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Copy_or_Move_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Delete_objects_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Modify_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignee</string>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>_count</string> </key>
             <value>
@@ -106,10 +152,6 @@
             <key> <string>id_group</string> </key>
             <value> <string>None</string> </value>
         </item>
-        <item>
-            <key> <string>last_id</string> </key>
-            <value> <string>4</string> </value>
-        </item>
         <item>
             <key> <string>membership_criterion_base_category</string> </key>
             <value>
diff --git a/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/salary_range.xml b/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/salary_range.xml
index 22202f137c..3791699674 100644
--- a/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/salary_range.xml
+++ b/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/salary_range.xml
@@ -104,10 +104,6 @@
               <none/>
             </value>
         </item>
-        <item>
-            <key> <string>last_id</string> </key>
-            <value> <string>9</string> </value>
-        </item>
         <item>
             <key> <string>membership_criterion_base_category</string> </key>
             <value>
diff --git a/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/source_grade.xml b/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/source_grade.xml
index 674db4e540..c610a59aa2 100644
--- a/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/source_grade.xml
+++ b/bt5/erp5_payroll/CategoryTemplateItem/portal_categories/source_grade.xml
@@ -112,10 +112,6 @@
             <key> <string>id_group</string> </key>
             <value> <string>None</string> </value>
         </item>
-        <item>
-            <key> <string>last_id</string> </key>
-            <value> <string>1</string> </value>
-        </item>
         <item>
             <key> <string>membership_criterion_base_category</string> </key>
             <value>
diff --git a/bt5/erp5_payroll/ModuleTemplateItem/paysheet_model_module.xml b/bt5/erp5_payroll/ModuleTemplateItem/paysheet_model_module.xml
index 74317dac1d..8a03e0f7fe 100644
--- a/bt5/erp5_payroll/ModuleTemplateItem/paysheet_model_module.xml
+++ b/bt5/erp5_payroll/ModuleTemplateItem/paysheet_model_module.xml
@@ -1,12 +1,6 @@
 <module>
  <id>paysheet_model_module</id>
  <permission_list>
-  <permission type='list'>
-   <name>Access Transient Objects</name>
-  </permission>
-  <permission type='list'>
-   <name>Access arbitrary user session data</name>
-  </permission>
   <permission type='tuple'>
    <name>Access contents information</name>
    <role>Assignee</role>
@@ -16,406 +10,23 @@
    <role>Author</role>
    <role>Manager</role>
   </permission>
-  <permission type='tuple'>
-   <name>Access future portal content</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Access inactive portal content</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Access session data</name>
-  </permission>
-  <permission type='list'>
-   <name>Add Accelerated HTTP Cache Managers</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add BTreeFolder2s</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add Browser Id Manager</name>
-  </permission>
-  <permission type='list'>
-   <name>Add CMF Action Icons Tools</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMF Active Processs</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMF Caching Policy Managers</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMF Calendar Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMF Core Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMF Default Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMF Report Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add CMF Setup Tools</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMF Sites</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add CMF Unique Id Tools</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMFActivity Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMFCategory Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add CMFMailIn Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add Configured CMF Sites</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Content Type Registrys</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Cookie Crumblers</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Database Methods</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Documents, Images, and Files</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 Filesystem Formulator Forms</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 Forms</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 OOo Templates</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 PDF Forms</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 PDF Templates</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 Publications</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 Reports</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 Sites</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 Subscriptions</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5 Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5Catalog Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5Form Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5SyncML Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ERP5Type Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ExtFiles</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ExtImages</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add External Methods</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Filesystem Directory Views</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Folders</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Formulator Forms</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add HBTreeFolder2s</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add LocalContents</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add LocalFolders</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Localizers</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add MailHost objects</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add MessageCatalogs</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add MimetypesRegistry Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Page Templates</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Pluggable Index</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add Plugin Registrys</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add PortalTransforms Tools</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Python Scripts</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add RAM Cache Managers</name>
-  </permission>
-  <permission type='list'>
-   <name>Add ReStructuredText Documents</name>
-  </permission>
-  <permission type='list'>
-   <name>Add Session Data Manager</name>
-  </permission>
-  <permission type='list'>
-   <name>Add Site Roots</name>
-  </permission>
-  <permission type='list'>
-   <name>Add Temporary Folder</name>
-  </permission>
-  <permission type='list'>
-   <name>Add Transient Object Container</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add User Folders</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add Virtual Host Monsters</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Vocabularies</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add Z Gadfly Database Connections</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Z MySQL Database Connections</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add Z MySQL Deferred Database Connections</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ZCatalogs</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ZMailIn Clients</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add ZMailMessages</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Add ZODB Mount Points</name>
-  </permission>
-  <permission type='list'>
-   <name>Add Zope Tutorials</name>
-  </permission>
   <permission type='tuple'>
    <name>Add portal content</name>
    <role>Assignor</role>
    <role>Author</role>
    <role>Manager</role>
   </permission>
-  <permission type='tuple'>
-   <name>Add portal events</name>
-   <role>Manager</role>
-  </permission>
   <permission type='tuple'>
    <name>Add portal folders</name>
    <role>Assignor</role>
    <role>Author</role>
    <role>Manager</role>
   </permission>
-  <permission type='tuple'>
-   <name>Add portal member</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Add portal topics</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Change Browser Id Manager</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Change DTML Documents</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change DTML Methods</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change Database Connections</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change Database Methods</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change ExtFile/ExtImage</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change External Methods</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change Formulator Fields</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change Formulator Forms</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change Images and Files</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change Lock Information</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change Page Templates</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change Python Scripts</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Change Session Data Manager</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Change Versions</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change ZMailIn</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change ZMailMessages</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change bindings</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change cache managers</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change cache settings</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change configuration</name>
-   <role>Manager</role>
-  </permission>
   <permission type='tuple'>
    <name>Change local roles</name>
    <role>Assignor</role>
    <role>Manager</role>
   </permission>
-  <permission type='tuple'>
-   <name>Change permissions</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change portal events</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change portal topics</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change proxy roles</name>
-   <role>Manager</role>
-  </permission>
   <permission type='tuple'>
    <name>Copy or Move</name>
    <role>Assignee</role>
@@ -425,49 +36,11 @@
    <role>Author</role>
    <role>Manager</role>
   </permission>
-  <permission type='list'>
-   <name>Create Transient Objects</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Create class instances</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Define permissions</name>
-   <role>Manager</role>
-  </permission>
   <permission type='tuple'>
    <name>Delete objects</name>
    <role>Assignor</role>
    <role>Manager</role>
   </permission>
-  <permission type='tuple'>
-   <name>Download ExtFile/ExtImage</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Edit Factories</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Edit ReStructuredText</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Edit target</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>FTP access</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Import/Export objects</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Join/leave Versions</name>
-   <role>Manager</role>
-  </permission>
   <permission type='tuple'>
    <name>List folder contents</name>
    <role>Assignee</role>
@@ -477,168 +50,11 @@
    <role>Author</role>
    <role>Manager</role>
   </permission>
-  <permission type='tuple'>
-   <name>List portal members</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>List undoable changes</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Log Site Errors</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Log to the Event Log</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Mail forgotten password</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage Access Rules</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage Groups</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Manage Transient Object Container</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage Vocabulary</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage WebDAV Locks</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage Z Classes</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage ZCatalog Entries</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage ZCatalogIndex Entries</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Manage extensions</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage languages</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage messages</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage portal</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage properties</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Manage users</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Modify Cookie Crumblers</name>
-   <role>Manager</role>
-  </permission>
   <permission type='tuple'>
    <name>Modify portal content</name>
    <role>Assignor</role>
    <role>Manager</role>
   </permission>
-  <permission type='tuple'>
-   <name>Open/Close Database Connection</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Open/Close Database Connections</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Post mail to ZMailIn</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Query Vocabulary</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Reply to item</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Request review</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Review portal content</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Save/discard Version changes</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Search ZCatalog</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Search for principals</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Set own password</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Set own properties</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Take ownership</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Test Database Connections</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Translate Content</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Undo changes</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Use Database Methods</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Use Factories</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='list'>
-   <name>Use external editor</name>
-  </permission>
-  <permission type='tuple'>
-   <name>Use mailhost services</name>
-   <role>Manager</role>
-  </permission>
   <permission type='tuple'>
    <name>View</name>
    <role>Assignee</role>
@@ -656,26 +72,6 @@
    <role>Author</role>
    <role>Manager</role>
   </permission>
-  <permission type='tuple'>
-   <name>View ZMailMessage</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>View management screens</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>WebDAV Lock items</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>WebDAV Unlock items</name>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>WebDAV access</name>
-   <role>Manager</role>
-  </permission>
  </permission_list>
  <portal_type>Pay Sheet Model Module</portal_type>
  <title>Pay Sheet Models</title>
diff --git a/bt5/erp5_payroll/PathTemplateItem/portal_categories/base_amount/payroll.xml b/bt5/erp5_payroll/PathTemplateItem/portal_categories/base_amount/payroll.xml
index 18bd255694..7ac26485d7 100644
--- a/bt5/erp5_payroll/PathTemplateItem/portal_categories/base_amount/payroll.xml
+++ b/bt5/erp5_payroll/PathTemplateItem/portal_categories/base_amount/payroll.xml
@@ -6,6 +6,53 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_Add_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Add_portal_folders_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Copy_or_Move_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Delete_objects_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Modify_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignee</string>
+                <string>Assignor</string>
+                <string>Manager</string>
+                <string>Owner</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>_count</string> </key>
             <value>
diff --git a/bt5/erp5_payroll/PathTemplateItem/portal_categories/base_amount/payroll/l10n.xml b/bt5/erp5_payroll/PathTemplateItem/portal_categories/base_amount/payroll/l10n.xml
index 6f8bbafa42..2869829c98 100644
--- a/bt5/erp5_payroll/PathTemplateItem/portal_categories/base_amount/payroll/l10n.xml
+++ b/bt5/erp5_payroll/PathTemplateItem/portal_categories/base_amount/payroll/l10n.xml
@@ -6,6 +6,53 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_Add_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Add_portal_folders_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Copy_or_Move_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Delete_objects_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Modify_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignee</string>
+                <string>Assignor</string>
+                <string>Manager</string>
+                <string>Owner</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>_count</string> </key>
             <value>
diff --git a/bt5/erp5_payroll/PathTemplateItem/portal_categories/contribution_share/employee.xml b/bt5/erp5_payroll/PathTemplateItem/portal_categories/contribution_share/employee.xml
index 95544ae5a5..78a6542f84 100644
--- a/bt5/erp5_payroll/PathTemplateItem/portal_categories/contribution_share/employee.xml
+++ b/bt5/erp5_payroll/PathTemplateItem/portal_categories/contribution_share/employee.xml
@@ -6,6 +6,52 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_Add_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Add_portal_folders_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Copy_or_Move_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Delete_objects_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Modify_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignee</string>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>_count</string> </key>
             <value>
diff --git a/bt5/erp5_payroll/PathTemplateItem/portal_categories/contribution_share/employer.xml b/bt5/erp5_payroll/PathTemplateItem/portal_categories/contribution_share/employer.xml
index 13f4e55ff3..17c437a98c 100644
--- a/bt5/erp5_payroll/PathTemplateItem/portal_categories/contribution_share/employer.xml
+++ b/bt5/erp5_payroll/PathTemplateItem/portal_categories/contribution_share/employer.xml
@@ -6,6 +6,52 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_Add_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Add_portal_folders_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Copy_or_Move_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Delete_objects_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Modify_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignee</string>
+                <string>Assignor</string>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>_count</string> </key>
             <value>
diff --git a/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder.xml b/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder.xml
index 07c3f27bdf..4510977ae8 100644
--- a/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder.xml
+++ b/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Generated Delivery Builder" module="erp5.portal_type"/>
+      <global name="Delivery Builder" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -133,10 +133,6 @@
             <key> <string>id</string> </key>
             <value> <string>pay_sheet_builder</string> </value>
         </item>
-        <item>
-            <key> <string>last_id</string> </key>
-            <value> <string>6</string> </value>
-        </item>
         <item>
             <key> <string>portal_type</string> </key>
             <value> <string>Delivery Builder</string> </value>
diff --git a/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder/property_movement_group_on_delivery.xml b/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder/property_movement_group_on_delivery.xml
index 4221bfc38e..8bb2050d15 100644
--- a/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder/property_movement_group_on_delivery.xml
+++ b/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder/property_movement_group_on_delivery.xml
@@ -36,13 +36,17 @@
         <item>
             <key> <string>tested_property</string> </key>
             <value>
-              <none/>
+              <tuple/>
             </value>
         </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string>property_movement_group_on_delivery</string> </value>
         </item>
+        <item>
+            <key> <string>update_always</string> </key>
+            <value> <int>0</int> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder/property_movement_group_on_line.xml b/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder/property_movement_group_on_line.xml
index ee829c63db..516365f437 100644
--- a/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder/property_movement_group_on_line.xml
+++ b/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_builder/property_movement_group_on_line.xml
@@ -41,8 +41,8 @@
                 <string>title</string>
                 <string>reference</string>
                 <string>int_index</string>
-                <string>base_contribution_list</string>
                 <string>base_application_list</string>
+                <string>base_contribution_list</string>
               </tuple>
             </value>
         </item>
@@ -52,6 +52,10 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>update_always</string> </key>
+            <value> <int>0</int> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_transaction_builder.xml b/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_transaction_builder.xml
index 151644dd74..39f8735b95 100644
--- a/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_transaction_builder.xml
+++ b/bt5/erp5_payroll/PathTemplateItem/portal_deliveries/pay_sheet_transaction_builder.xml
@@ -129,10 +129,6 @@
             <key> <string>id</string> </key>
             <value> <string>pay_sheet_transaction_builder</string> </value>
         </item>
-        <item>
-            <key> <string>last_id</string> </key>
-            <value> <string>2</string> </value>
-        </item>
         <item>
             <key> <string>portal_type</string> </key>
             <value> <string>Delivery Builder</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 b2fad2159f..a5f2e71841 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Annotation%20Line.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Annotation%20Line.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -75,6 +75,10 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>AnnotationLine</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
@@ -92,7 +96,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
@@ -115,7 +121,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
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 3deae8d2f0..5344a40250 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract%20Module.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract%20Module.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract.xml
index 67b342cc45..70d34d0e54 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Employment%20Contract.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
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 c23b25b72f..ff76805dda 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Cell.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Cell.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -59,6 +59,10 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>PaySheetCell</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
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 797cadd0b9..3b1645ef28 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Line.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Line.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -78,6 +78,10 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>PaySheetLine</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
@@ -95,7 +99,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
@@ -118,7 +124,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
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 082545d7f4..0c80aab567 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
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -65,6 +65,10 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>PaySheetModelCell</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
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 864ee16764..6a24de0c6d 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
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -82,6 +82,10 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>PaySheetModelLine</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
@@ -96,7 +100,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
@@ -116,7 +122,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
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 2984f6587d..e8bb1512a4 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
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
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 9ff9a09d88..3069dabe09 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
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -75,6 +75,10 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>AnnotationLine</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
@@ -92,7 +96,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
@@ -115,7 +121,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
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 b790f87f85..113f97e7f0 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
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -56,6 +56,10 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>PaySheetModelSlice</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
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 8a46298186..045f6204e8 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -77,6 +77,10 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>PaySheetModel</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
@@ -91,7 +95,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
@@ -111,7 +117,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
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 fa21323f5e..6b1e02a053 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
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -59,6 +59,10 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>AccountingTransactionLine</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
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 af65aff9dd..9c199e2a1f 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+      <global name="Base Type" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -75,11 +75,15 @@
         </item>
         <item>
             <key> <string>init_script</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>permission</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>redirect_script</string> </key>
@@ -89,6 +93,22 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>type_class</string> </key>
+            <value> <string>PaySheetTransaction</string> </value>
+        </item>
+        <item>
+            <key> <string>type_interface</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>type_mixin</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
@@ -106,7 +126,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
@@ -129,7 +151,9 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value> <none/> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
diff --git a/bt5/erp5_payroll/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_payroll/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 7e4713e884..23c4784faf 100644
--- a/bt5/erp5_payroll/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_payroll/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -31,4 +31,4 @@
   <type>Pay Sheet Transaction Line</type>
   <workflow>delivery_movement_causality_interaction_workflow, delivery_movement_simulation_interaction_workflow, edit_workflow</workflow>
  </chain>
-</workflow_chain>
+</workflow_chain>
\ No newline at end of file
diff --git a/bt5/erp5_payroll/bt/revision b/bt5/erp5_payroll/bt/revision
index 7b5a1ce4fd..ed615204d1 100644
--- a/bt5/erp5_payroll/bt/revision
+++ b/bt5/erp5_payroll/bt/revision
@@ -1 +1 @@
-589
\ No newline at end of file
+590
\ No newline at end of file
diff --git a/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list b/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list
index a1ba1bbb90..b64eafa65f 100644
--- a/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list
@@ -19,4 +19,4 @@ Pay Sheet Transaction | accounting_workflow
 Pay Sheet Transaction | delivery_causality_interaction_workflow
 Pay Sheet Transaction | delivery_causality_workflow
 Pay Sheet Transaction | delivery_simulation_interaction_workflow
-Pay Sheet Transaction | edit_workflow
+Pay Sheet Transaction | edit_workflow
\ No newline at end of file
diff --git a/bt5/erp5_payroll_l10n_fr/PathTemplateItem/portal_categories/base_amount/payroll/l10n/fr/base/gmp.xml b/bt5/erp5_payroll_l10n_fr/PathTemplateItem/portal_categories/base_amount/payroll/l10n/fr/base/gmp.xml
new file mode 100644
index 0000000000..e7ad42fdef
--- /dev/null
+++ b/bt5/erp5_payroll_l10n_fr/PathTemplateItem/portal_categories/base_amount/payroll/l10n/fr/base/gmp.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Category" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>gmp</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>GMP</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_payroll_l10n_fr/bt/revision b/bt5/erp5_payroll_l10n_fr/bt/revision
index b5db9c417a..c2807f7f3c 100644
--- a/bt5/erp5_payroll_l10n_fr/bt/revision
+++ b/bt5/erp5_payroll_l10n_fr/bt/revision
@@ -1 +1 @@
-139
\ No newline at end of file
+140
\ No newline at end of file
-- 
2.30.9