From 890839d8ec28db68645fd07ebbb926a2f44aee59 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Mon, 8 Jun 2009 14:38:06 +0000
Subject: [PATCH] - change non existing icon to use an existing one - change
 groups on Pay Sheet Model Line portal_type, now the only group is
 transformation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27421 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Pay%20Sheet%20Cell.xml                     | 2 +-
 .../portal_types/Pay%20Sheet%20Model%20Line.xml             | 5 ++---
 .../portal_types/Pay%20Sheet%20Model%20Ratio%20Line.xml     | 2 +-
 .../portal_types/Pay%20Sheet%20Model%20Slice.xml            | 2 +-
 .../portal_types/Pay%20Sheet%20Model.xml                    | 2 +-
 .../portal_types/Pay%20Sheet%20Transaction%20Line.xml       | 6 +++++-
 .../portal_types/Pay%20Sheet%20Transaction.xml              | 2 +-
 7 files changed, 12 insertions(+), 9 deletions(-)

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 4b6c5f8a8a..e1b3d547e8 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Cell.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Cell.xml
@@ -45,7 +45,7 @@
         </item>
         <item>
             <key> <string>content_icon</string> </key>
-            <value> <string>invoice_line_icon.gif</string> </value>
+            <value> <string>file_icon.gif</string> </value>
         </item>
         <item>
             <key> <string>content_meta_type</string> </key>
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 cc3ba43655..60aa1e437a 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
@@ -64,7 +64,7 @@
         </item>
         <item>
             <key> <string>content_icon</string> </key>
-            <value> <string>accounting_transaction_line_icon.gif</string> </value>
+            <value> <string>file_icon.gif</string> </value>
         </item>
         <item>
             <key> <string>content_meta_type</string> </key>
@@ -86,8 +86,7 @@
             <key> <string>group_list</string> </key>
             <value>
               <tuple>
-                <string>delivery_movement</string>
-                <string>invoice_movement</string>
+                <string>transformation</string>
               </tuple>
             </value>
         </item>
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 2eb2120cb7..07f12d53d3 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
@@ -64,7 +64,7 @@
         </item>
         <item>
             <key> <string>content_icon</string> </key>
-            <value> <string>accounting_transaction_line_icon.gif</string> </value>
+            <value> <string>file_icon.gif</string> </value>
         </item>
         <item>
             <key> <string>content_meta_type</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 bf198b20e2..cbf833f817 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
@@ -45,7 +45,7 @@
         </item>
         <item>
             <key> <string>content_icon</string> </key>
-            <value> <string>invoice_line_icon.gif</string> </value>
+            <value> <string>file_icon.gif</string> </value>
         </item>
         <item>
             <key> <string>content_meta_type</string> </key>
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 3c713a080b..676fd81af7 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Model.xml
@@ -64,7 +64,7 @@
         </item>
         <item>
             <key> <string>content_icon</string> </key>
-            <value> <string>document.gif</string> </value>
+            <value> <string>file_icon.gif</string> </value>
         </item>
         <item>
             <key> <string>content_meta_type</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 471c428b80..cb4913188d 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
@@ -45,7 +45,7 @@
         </item>
         <item>
             <key> <string>content_icon</string> </key>
-            <value> <string>accounting_transaction_line_icon.gif</string> </value>
+            <value> <string>file_icon.gif</string> </value>
         </item>
         <item>
             <key> <string>content_meta_type</string> </key>
@@ -86,6 +86,10 @@
             <key> <string>init_script</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>permission</string> </key>
+            <value> <string></string> </value>
+        </item>
         <item>
             <key> <string>property_sheet_list</string> </key>
             <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 720cfceb12..f1adf6c0cc 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Pay%20Sheet%20Transaction.xml
@@ -96,8 +96,8 @@
             <key> <string>group_list</string> </key>
             <value>
               <tuple>
-                <string>delivery</string>
                 <string>accounting_transaction</string>
+                <string>delivery</string>
                 <string>invoice</string>
               </tuple>
             </value>
-- 
2.30.9