[Erp5-report] r6671 - in /erp5/trunk/bt5/erp5_payroll: ActionTemplateItem/portal_types/Pay%...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Apr 14 20:02:41 CEST 2006


Author: kevin
Date: Fri Apr 14 20:02:29 2006
New Revision: 6671

URL: http://svn.erp5.org?rev=6671&view=rev
Log:
Synchonize with last erp5devel version

Added:
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Cell/
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/history.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/list.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/metadata.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/print_pdf.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/quantity.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/view.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction%20Line/
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/accounting_lines.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/history.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/metadata.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/print.xml
    erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view.xml
    erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_buildAllPaySheetAccountingLine.xml
    erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_validateAllConfirmedPaySheetTransaction.xml
    erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_buildAccountingLine.xml
    erp5/trunk/bt5/erp5_payroll/bt/template_update_business_template_workflow
    erp5/trunk/bt5/erp5_payroll/bt/template_update_tool
Modified:
    erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_checkPaySheetConsistency.xml
    erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList.xml
    erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox.xml
    erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source.xml
    erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_credit.xml
    erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_debit.xml
    erp5/trunk/bt5/erp5_payroll/bt/change_log
    erp5/trunk/bt5/erp5_payroll/bt/template_action_path_list
    erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_allowed_content_type_list
    erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_base_category_list
    erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/history.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Line/history.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/history.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/history.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>history</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>History</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Base_viewHistory</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Line/list.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/list.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/list.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_action</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>list</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>2.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Object Contents</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Folder_viewContentList</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/metadata.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Line/metadata.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/metadata.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/metadata.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>metadata</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Manage properties</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>4.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Metadata</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Base_viewMetadata</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/print_pdf.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Line/print_pdf.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/print_pdf.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/print_pdf.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_print</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>print_pdf</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>6.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Print</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Base_printPdf</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/quantity.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Line/quantity.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/quantity.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/quantity.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>quantity</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>3.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Pay Sheet Cells</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/PaySheetLine_viewQuantity</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Line/view.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/view.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Line/view.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>view</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>1.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Pay Sheet Line View</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/PaySheetLine_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/accounting_lines.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Transaction/accounting_lines.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/accounting_lines.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/accounting_lines.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>accounting_lines</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>3.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Accounting Lines</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/PaySheetTransaction_viewAccountingLineList</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Transaction/calcul.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/calcul.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_action</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>calcul</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Modify portal content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>6.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>(re)Calculation of the Pay Sheet Transaction</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/PaySheetTransaction_checkParameters</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/history.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Transaction/history.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/history.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/history.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>history</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>History</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Base_viewHistory</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/metadata.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Transaction/metadata.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/metadata.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/metadata.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>metadata</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Manage properties</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>4.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Metadata</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Base_viewMetadata</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/print.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Transaction/print.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/print.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/print.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_print</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>print</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>2.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Print</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/PaySheetTransaction_viewPaySheetTransactionAsPDF</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%2520Sheet%2520Transaction/view.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/ActionTemplateItem/portal_types/Pay%20Sheet%20Transaction/view.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.ActionInformation</string>
+          <string>ActionInformation</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>view</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>1.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Pay Sheet View</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.CMFCore.Expression</string>
+          <string>Expression</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/PaySheetTransaction_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_buildAllPaySheetAccountingLine.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_buildAllPaySheetAccountingLine.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_buildAllPaySheetAccountingLine.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_buildAllPaySheetAccountingLine.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,182 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.PythonScripts.PythonScript</string>
+          <string>PythonScript</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Python_magic</string> </key>
+            <value> <string encoding="base64">O/INCg==</string> </value>
+        </item>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+print "<html>"\n
+print "<h1>Build All Pay Sheet Accounting Lines</h1>"\n
+\n
+for pay_sheet in context.accounting_module.objectValues(portal_type = [\'Pay Sheet Transaction\']):\n
+  if pay_sheet.getSimulationState() == \'confirmed\': #not in (\'cancelled\', \'delivered\', \'draft\', \'stopped\', \'planned\'):\n
+    if str(pay_sheet.getStartDate()).split(\'/\')[0] == \'2005\':\n
+      pstl_list = pay_sheet.objectValues(portal_type = [\'Pay Sheet Transaction Line\'])\n
+      if len(pstl_list) == 0:\n
+        print "<br/>"\n
+        print "<h2><a href=\'%s\'>%s - %s</a> [%s]</h2>" % ( \\\n
+            pay_sheet.absolute_url()\n
+          , pay_sheet.getTitle()\n
+          , pay_sheet.getStartDate()\n
+          , pay_sheet.getSimulationState()\n
+          )\n
+        try:\n
+          #print "<a href=\'%s\'>%s</a><br/>" % (pay_sheet.getCausalityRelatedValue().absolute_url(), pay_sheet.getCausalityRelatedValue().getId())\n
+          #error = pay_sheet.PaySheetTransaction_buildAccountingLine()\n
+          #if error != None:\n
+          #  print error\n
+          print "<font color=\'#0f0\'><b>Build started.</b></font><br/>"\n
+        except:\n
+          print "<font color=\'#f00\'><b>Build failed !</b></font><br/>"\n
+\n
+print "</html>"\n
+return printed\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_filepath</string> </key>
+            <value> <string>Script (Python):/nexedi/portal_skins/erp5_payroll/AccountingModule_buildAllPaySheetAccountingLine</string> </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>_print_</string>
+                            <string>_print</string>
+                            <string>_getiter_</string>
+                            <string>_getattr_</string>
+<string>context</string>
+                            <string>pay_sheet</string>
+                            <string>_getitem_</string>
+                            <string>str</string>
+                            <string>pstl_list</string>
+                            <string>len</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>AccountingModule_buildAllPaySheetAccountingLine</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_checkPaySheetConsistency.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_checkPaySheetConsistency.xml?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_checkPaySheetConsistency.xml (original)
+++ erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_checkPaySheetConsistency.xml Fri Apr 14 20:02:29 2006
@@ -68,45 +68,138 @@
             <key> <string>_body</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-"""\n
-  Usefull, but dirty, script to track bad destination and destination_section on pay sheet line.\n
-"""\n
-\n
-print "<html>"\n
-print "<h1>Check PaySheets Consistency</h1>"\n
+YEAR = \'2005\'\n
+STATE_LIST = [ \'confirmed\'\n
+             #, \'cancelled\'\n
+             #, \'delivered\'\n
+             , \'planned\'\n
+             , \'stopped\'\n
+             #, \'draft\'\n
+             ]\n
+AUTO_UPDATE = False\n
+\n
+\n
+print """<html>\n
+<head>\n
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n
+<style>\n
+body, h1, h2 {\n
+  font-size: 70%;\n
+}\n
+</style>\n
+</head>\n
+<body>\n
+<h1>PaySheets Consistency Checking</h1>"""\n
+\n
+\n
 for pay_sheet in context.accounting_module.objectValues(portal_type = [\'Pay Sheet Transaction\']):\n
-  if pay_sheet.getSimulationState() not in (\'cancelled\', \'delivered\'):\n
-    if str(pay_sheet.getStartDate()).split(\'/\')[0] == \'2005\':\n
+\n
+  ps_state = pay_sheet.getSimulationState()\n
+\n
+  if ps_state in STATE_LIST:\n
+    if str(pay_sheet.getStartDate()).split(\'/\')[0] == YEAR:\n
+\n
       print "<br/>"\n
-      print "<h2><a href=\'%s\'>%s - %s</a> [%s]</h2>" % (pay_sheet.absolute_url(), pay_sheet.getTitle(), pay_sheet.getStartDate(), pay_sheet.getSimulationState())\n
+      print "<h2><a href=\'%s\'>%s - %s</a> [%s]</h2>" % ( pay_sheet.absolute_url()\n
+                                                       , pay_sheet.getTitle()\n
+                                                       , pay_sheet.getStartDate()\n
+                                                       , pay_sheet.getSimulationState()\n
+                                                       )\n
+\n
+      ### Test the consistency of paysheet properties\n
+      # Test the presence of a Transaction Reference number\n
+      #if ps_state in [\'confirmed\', \'stopped\', \'delivered\']:\n
+\n
+\n
+      ### Test the validity of Pay Sheet Lines (invoice lines of social service)\n
       for pay_sheet_line in pay_sheet.objectValues(portal_type = [\'Pay Sheet Line\']):\n
         social_service = pay_sheet_line.getResourceValue()\n
         supplier = social_service.getSourceValue()\n
         ps_destination = pay_sheet_line.getDestinationValue()\n
         ps_destination_section = pay_sheet_line.getDestinationSectionValue()\n
-        if supplier != None:\n
+\n
+        # Test the supplier\n
+        if supplier == None:\n
+          if social_service.getId() != \'labour\':\n
+            print "<font color=\'#f00\'><a href=\'%s\'>%s [%s]</a> Supplier is None !</font><br/>" % ( pay_sheet_line.absolute_url()\n
+              , pay_sheet_line.getPath()\n
+              , pay_sheet_line.getTitle()\n
+              )\n
+\n
+        else:\n
+          # Test the destination\n
           if supplier != ps_destination:\n
-            print "<a href=\'%s\'>%s [%s]</a> has bad destination (%s instead of %s) <br/>" % ( pay_sheet_line.absolute_url()\n
+            print "<font color=\'#f00\'><a href=\'%s\'>%s [%s]</a> has bad destination (%s instead of %s).</font><br/>" % ( pay_sheet_line.absolute_url()\n
               , pay_sheet_line.getPath()\n
               , pay_sheet_line.getTitle()\n
               , repr(ps_destination).replace(\'>\', \']\').replace(\'<\', \'[\')\n
               , repr(supplier).replace(\'>\', \']\').replace(\'<\', \'[\')\n
               )\n
-            # pay_sheet_line.setDestinationValue(supplier)\n
+            if AUTO_UPDATE == True:\n
+              pay_sheet_line.setDestinationValue(supplier)\n
+              print "<font color=\'#f90\'>destination_value updated.</font><br/>"\n
+\n
+          # Test the destination section\n
           if supplier != ps_destination_section:\n
-            print "<a href=\'%s\'>%s [%s]</a> has bad destination_section (%s instead of %s) <br/>" % ( pay_sheet_line.absolute_url()\n
+            print "<font color=\'#f00\'><a href=\'%s\'>%s [%s]</a> has bad destination_section (%s instead of %s)</font><br/>" % ( pay_sheet_line.absolute_url()\n
               , pay_sheet_line.getPath()\n
               , pay_sheet_line.getTitle()\n
               , repr(ps_destination_section).replace(\'>\', \']\').replace(\'<\', \'[\')\n
               , repr(supplier).replace(\'>\', \']\').replace(\'<\', \'[\')\n
               )\n
-            # pay_sheet_line.setDestinationSectionValue(supplier)\n
-        elif social_service.getId() != \'labour\':\n
-            print "<font color=\'#f00\'><a href=\'%s\'>%s [%s]</a> <b>Supplier is None !</b></font><br/>" % ( pay_sheet_line.absolute_url()\n
-              , pay_sheet_line.getPath()\n
-              , pay_sheet_line.getTitle()\n
-              )\n
-print "</html>"\n
+            if AUTO_UPDATE == True:\n
+              pay_sheet_line.setDestinationSectionValue(supplier)\n
+              print "<font color=\'#f90\'>destination_section_value updated.</font><br/>"\n
+\n
+        # Test the social service\n
+        if social_service == None:\n
+          print "<font color=\'#f00\'>Social service is None on line <a href=\'%s\'>%s [%s]</a>!</font><br/>" % ( pay_sheet_line.absolute_url()\n
+            , pay_sheet_line.getPath()\n
+            , pay_sheet_line.getTitle()\n
+            )\n
+\n
+        else:\n
+          # Test categories\n
+          service_variations = social_service.getVariationCategoryList()\n
+          line_variations = pay_sheet_line.getVariationCategoryList()\n
+          for variation in line_variations:\n
+            if variation not in service_variations:\n
+              print "<font color=\'#f00\'>\'%s\' not available on <a href=\'%s\'>%s</a> social service !</font><br/>" % ( variation\n
+                , social_service.absolute_url()\n
+                , social_service.getTitle()\n
+                )\n
+\n
+      ### Test the validity of Pay Sheet Transaction Line (accounting part of paysheets)\n
+      for accounting_line in pay_sheet.objectValues(portal_type = [\'Pay Sheet Transaction Line\']):\n
+        source      = accounting_line.getSourceValue()\n
+        source_path = accounting_line.getSource()\n
+        dest_sect      = accounting_line.getDestinationSectionValue()\n
+        dest_sect_path = accounting_line.getDestinationSection()\n
+\n
+        if dest_sect_path == \'organisation_module/urssaf\' and \\\n
+            source_path    == \'account_module/dettes_sociales\':\n
+          expected_source = context.account_module[\'securite_sociale\']\n
+          print "<font color=\'#f00\'>Source on <a href=\'%s\'>%s</a> must be %s instead of %s</font><br/>" % ( accounting_line.absolute_url()\n
+            , accounting_line.getPath()\n
+            , expected_source.getPath()\n
+            , source_path\n
+            )\n
+          if AUTO_UPDATE == True:\n
+            accounting_line.setSourceValue(expected_source)\n
+\n
+        if dest_sect_path == \'organisation_module/henner\' and \\\n
+            source_path    == \'account_module/charges_securite_sociale\':\n
+          expected_source = context.account_module[\'mutuelle\']\n
+          print "<font color=\'#f00\'>Source on <a href=\'%s\'>%s</a> must be %s instead of %s</font><br/>" % ( accounting_line.absolute_url()\n
+            , accounting_line.getPath()\n
+            , expected_source.getPath()\n
+            , source_path\n
+            )\n
+          if AUTO_UPDATE == True:\n
+            accounting_line.setSourceValue(expected_source)\n
+\n
+\n
+print "</body></html>"\n
 return printed\n
 
 
@@ -158,10 +251,15 @@
                           <tuple>
                             <string>_print_</string>
                             <string>_print</string>
+                            <string>YEAR</string>
+                            <string>STATE_LIST</string>
+                            <string>False</string>
+                            <string>AUTO_UPDATE</string>
                             <string>_getiter_</string>
                             <string>_getattr_</string>
-<string>context</string>
+                            <string>context</string>
                             <string>pay_sheet</string>
+                            <string>ps_state</string>
                             <string>_getitem_</string>
                             <string>str</string>
                             <string>pay_sheet_line</string>
@@ -171,6 +269,16 @@
                             <string>ps_destination_section</string>
                             <string>None</string>
                             <string>repr</string>
+                            <string>True</string>
+                            <string>service_variations</string>
+                            <string>line_variations</string>
+                            <string>variation</string>
+                            <string>accounting_line</string>
+                            <string>source</string>
+                            <string>source_path</string>
+                            <string>dest_sect</string>
+                            <string>dest_sect_path</string>
+                            <string>expected_source</string>
                           </tuple>
                         </value>
                     </item>

Added: erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_validateAllConfirmedPaySheetTransaction.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_validateAllConfirmedPaySheetTransaction.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_validateAllConfirmedPaySheetTransaction.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingModule_validateAllConfirmedPaySheetTransaction.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,203 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.PythonScripts.PythonScript</string>
+          <string>PythonScript</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Python_magic</string> </key>
+            <value> <string encoding="base64">O/INCg==</string> </value>
+        </item>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+YEAR = \'2005\'\n
+STATE_LIST = [ \'confirmed\'\n
+             #, \'cancelled\'\n
+             #, \'delivered\'\n
+             #, \'planned\'\n
+             , \'stopped\'\n
+             #, \'draft\'\n
+             ]\n
+AUTO = False\n
+\n
+print """<html>\n
+<head>\n
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n
+<style>\n
+body, h1, h2 {\n
+  font-size: 70%;\n
+}\n
+</style>\n
+</head>\n
+<body>\n
+<h1>Validate all Pay Sheet Transactions</h1>"""\n
+\n
+\n
+workflow_tool = context.portal_workflow\n
+\n
+for pay_sheet in context.accounting_module.objectValues(portal_type = [\'Pay Sheet Transaction\']):\n
+  if pay_sheet.getSimulationState() in STATE_LIST:\n
+    if str(pay_sheet.getStartDate()).split(\'/\')[0] == YEAR:\n
+      print "<br/>"\n
+      print "<h2><a href=\'%s\'>%s - %s</a> [%s]</h2>" % ( pay_sheet.absolute_url()\n
+                                                       , pay_sheet.getTitle()\n
+                                                       , pay_sheet.getStartDate()\n
+                                                       , pay_sheet.getSimulationState()\n
+                                                       )\n
+      if AUTO == True:\n
+        workflow_tool.doActionFor(pay_sheet, \'stop_action\', wf_id=\'accounting_workflow\')\n
+      if pay_sheet.getSimulationState() == \'stopped\':\n
+        print "<font color=\'#0f0\'>Pay Sheet validated.</font><br/>"\n
+      else:\n
+        print "<font color=\'#f00\'>Pay Sheet not validated !</font><br/>"\n
+\n
+print "</body></html>"\n
+return printed\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_filepath</string> </key>
+            <value> <string>Script (Python):/nexedi/portal_skins/erp5_payroll/AccountingModule_validateAllConfirmedPaySheetTransaction</string> </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>_print_</string>
+                            <string>_print</string>
+                            <string>YEAR</string>
+                            <string>STATE_LIST</string>
+                            <string>False</string>
+                            <string>AUTO</string>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                            <string>workflow_tool</string>
+                            <string>_getiter_</string>
+                            <string>pay_sheet</string>
+                            <string>_getitem_</string>
+                            <string>str</string>
+                            <string>True</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>AccountingModule_validateAllConfirmedPaySheetTransaction</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_buildAccountingLine.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_buildAccountingLine.xml?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_buildAccountingLine.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_buildAccountingLine.xml Fri Apr 14 20:02:29 2006
@@ -1,0 +1,204 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.PythonScripts.PythonScript</string>
+          <string>PythonScript</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Python_magic</string> </key>
+            <value> <string encoding="base64">O/INCg==</string> </value>
+        </item>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+PRIORITY = 1\n
+\n
+pay_sheet = context\n
+\n
+# Delete Accounting Lines\n
+for accounting_line in pay_sheet.objectValues(portal_type = [\'Pay Sheet Transaction Line\']):\n
+  pay_sheet.deleteContent(accounting_line.getId())\n
+\n
+applied_rule = context.getCausalityRelatedValue()\n
+# Delete the applied rule if present\n
+if applied_rule != None:\n
+  simulation_tool = context.portal_simulation\n
+  ar_id  = applied_rule.getId()\n
+  ar_url = applied_rule.absolute_url()\n
+  simulation_tool.deleteObject(ar_id)\n
+\n
+  for applied_rule in simulation_tool.objectValues():\n
+    if ar_id == applied_rule.getId():\n
+      return "Applied rule <a href=\'%s\'>%s</a> of <a href=\'\'>%s</a> paysheet not deleted" % (ar_url, ar_id, pay_sheet.absolute_url(), pay_sheet.getPath())\n
+\n
+previous_tag = pay_sheet.getPath() + \'_firstUpdateAppliedRule\'\n
+expand_tag   = pay_sheet.getPath() + \'_expand\'\n
+\n
+activate_kw = { \'tag\'     : expand_tag\n
+              , \'priority\': PRIORITY\n
+              }\n
+\n
+pay_sheet.activate( tag       = expand_tag\n
+                  , after_tag = previous_tag\n
+                  , priority  = PRIORITY\n
+                  ).updateAppliedRule( rule_id     = \'default_invoice_rule\'\n
+                                     , activate_kw = activate_kw\n
+                                     )\n
+\n
+builder = pay_sheet.portal_deliveries.pay_sheet_transaction_builder\n
+builder.activate( activity  = \'SQLQueue\'\n
+                , after_tag = expand_tag\n
+                , priority  = PRIORITY\n
+                ).build( explanation_uid = pay_sheet.getUid()\n
+                       , activate_kw     = activate_kw\n
+                       )\n
+\n
+return None\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_filepath</string> </key>
+            <value> <string>Script (Python):/nexedi/portal_skins/erp5_payroll/PaySheetTransaction_buildAccountingLine</string> </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>PRIORITY</string>
+<string>context</string>
+                            <string>pay_sheet</string>
+                            <string>_getiter_</string>
+                            <string>_getattr_</string>
+                            <string>accounting_line</string>
+                            <string>applied_rule</string>
+                            <string>None</string>
+                            <string>simulation_tool</string>
+                            <string>ar_id</string>
+                            <string>ar_url</string>
+                            <string>previous_tag</string>
+                            <string>expand_tag</string>
+                            <string>activate_kw</string>
+                            <string>builder</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>PaySheetTransaction_buildAccountingLine</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList.xml?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList.xml (original)
+++ erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList.xml Fri Apr 14 20:02:29 2006
@@ -43,6 +43,12 @@
             <key> <string>_objects</string> </key>
             <value>
               <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
             </value>
         </item>
         <item>
@@ -139,7 +145,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Pay Sheet Transaction</string> </value>
+            <value> <string>Sale Invoice Transaction</string> </value>
         </item>
         <item>
             <key> <string>unicode_mode</string> </key>

Modified: erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox.xml?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox.xml (original)
+++ erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox.xml Fri Apr 14 20:02:29 2006
@@ -524,29 +524,35 @@
                 <item>
                     <key> <string>sort</string> </key>
                     <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>sort_columns</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>stat_columns</string> </key>
+                    <value>
                       <list>
                         <tuple>
-                          <string>id</string>
-                          <string>id</string>
+                          <string>source_debit</string>
+                          <string>AccountingTransactionLine_statSourceDebit</string>
+                        </tuple>
+                        <tuple>
+                          <string>source_credit</string>
+                          <string>AccountingTransactionLine_statSourceCredit</string>
                         </tuple>
                       </list>
                     </value>
                 </item>
                 <item>
-                    <key> <string>sort_columns</string> </key>
-                    <value>
-                      <list/>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>stat_columns</string> </key>
-                    <value>
-                      <list/>
-                    </value>
-                </item>
-                <item>
                     <key> <string>stat_method</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
                 </item>
                 <item>
                     <key> <string>title</string> </key>
@@ -599,4 +605,23 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.Formulator.MethodField</string>
+          <string>Method</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>method_name</string> </key>
+            <value> <string>AccountingTransaction_searchInvoiceTransactionLines</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source.xml?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source.xml (original)
+++ erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source.xml Fri Apr 14 20:02:29 2006
@@ -281,7 +281,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:cell.getObject().InvoiceTransactionLine_getSourceItemList()</string> </value>
+            <value> <string>python: cell.getObject().InvoiceTransactionLine_getSourceItemList()</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_credit.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_credit.xml?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_credit.xml (original)
+++ erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_credit.xml Fri Apr 14 20:02:29 2006
@@ -203,7 +203,7 @@
                 </item>
                 <item>
                     <key> <string>extra</string> </key>
-                    <value> <string>align=\'right\'</string> </value>
+                    <value> <string></string> </value>
                 </item>
                 <item>
                     <key> <string>hidden</string> </key>

Modified: erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_debit.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_debit.xml?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_debit.xml (original)
+++ erp5/trunk/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewAccountingLineList/listbox_source_debit.xml Fri Apr 14 20:02:29 2006
@@ -203,7 +203,7 @@
                 </item>
                 <item>
                     <key> <string>extra</string> </key>
-                    <value> <string>align=\'right\'</string> </value>
+                    <value> <string></string> </value>
                 </item>
                 <item>
                     <key> <string>hidden</string> </key>

Modified: erp5/trunk/bt5/erp5_payroll/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/change_log?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_payroll/bt/change_log Fri Apr 14 20:02:29 2006
@@ -1,3 +1,7 @@
+2006-04-05 Kevin
+* Add some python scripts that are helpfull when debugging payroll.
+* Update PaySheetTransaction_viewAccountingLineList.
+
 2006-02-27 Kevin
 * Update AccountingTransactionModule_viewAnnualSalaryReport to show more paysheet conflicts by default.
 * Add AccountingModule_checkPaySheetConsistency, a usefull, but dirty, script to track bad destination and destination_section on Pay Sheet Lines.

Modified: erp5/trunk/bt5/erp5_payroll/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/template_action_path_list?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/template_action_path_list (original)
+++ erp5/trunk/bt5/erp5_payroll/bt/template_action_path_list Fri Apr 14 20:02:29 2006
@@ -1,0 +1,20 @@
+Pay Sheet Cell | history
+Pay Sheet Cell | metadata
+Pay Sheet Cell | print_pdf
+Pay Sheet Cell | view
+Pay Sheet Line | history
+Pay Sheet Line | list
+Pay Sheet Line | metadata
+Pay Sheet Line | print_pdf
+Pay Sheet Line | quantity
+Pay Sheet Line | view
+Pay Sheet Transaction Line | history
+Pay Sheet Transaction Line | metadata
+Pay Sheet Transaction Line | print_pdf
+Pay Sheet Transaction Line | view
+Pay Sheet Transaction | accounting_lines
+Pay Sheet Transaction | calcul
+Pay Sheet Transaction | history
+Pay Sheet Transaction | metadata
+Pay Sheet Transaction | print
+Pay Sheet Transaction | view

Modified: erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_allowed_content_type_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_allowed_content_type_list?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_allowed_content_type_list (original)
+++ erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_allowed_content_type_list Fri Apr 14 20:02:29 2006
@@ -1,0 +1,3 @@
+Pay Sheet Line | Pay Sheet Cell
+Pay Sheet Transaction | Pay Sheet Line
+Pay Sheet Transaction | Pay Sheet Transaction Line

Modified: erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_base_category_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_base_category_list?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_base_category_list (original)
+++ erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_base_category_list Fri Apr 14 20:02:29 2006
@@ -1,0 +1,5 @@
+Pay Sheet Cell | product_line
+Pay Sheet Cell | salary_range
+Pay Sheet Cell | tax_category
+Pay Sheet Line | salary_range
+Pay Sheet Line | tax_category

Modified: erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list?rev=6671&r1=6670&r2=6671&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list (original)
+++ erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list Fri Apr 14 20:02:29 2006
@@ -1,0 +1,9 @@
+Pay Sheet Cell | delivery_edit_workflow
+Pay Sheet Cell | edit_workflow
+Pay Sheet Line | delivery_edit_workflow
+Pay Sheet Line | edit_workflow
+Pay Sheet Transaction Line | delivery_edit_workflow
+Pay Sheet Transaction Line | edit_workflow
+Pay Sheet Transaction | accounting_workflow
+Pay Sheet Transaction | delivery_edit_workflow
+Pay Sheet Transaction | edit_workflow

Added: erp5/trunk/bt5/erp5_payroll/bt/template_update_business_template_workflow
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/template_update_business_template_workflow?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/template_update_business_template_workflow (added)
+++ erp5/trunk/bt5/erp5_payroll/bt/template_update_business_template_workflow Fri Apr 14 20:02:29 2006
@@ -1,0 +1,1 @@
+0

Added: erp5/trunk/bt5/erp5_payroll/bt/template_update_tool
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/template_update_tool?rev=6671&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/template_update_tool (added)
+++ erp5/trunk/bt5/erp5_payroll/bt/template_update_tool Fri Apr 14 20:02:29 2006
@@ -1,0 +1,1 @@
+0




More information about the Erp5-report mailing list