From 1d2a0aeab97da58bf510645ba8b3ce4bbb454bde Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Tue, 4 Dec 2007 18:03:04 +0000
Subject: [PATCH] add portal_deliveries/pay_sheet_transaction_builder script to
 generate PaySheetTransactionLine

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18008 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../pay_sheet_transaction_builder.xml         | 218 ++++++++++++++++++
 bt5/erp5_payroll_l10n_fr/bt/revision          |   2 +-
 .../bt/template_path_list                     |   3 +-
 3 files changed, 221 insertions(+), 2 deletions(-)
 create mode 100644 bt5/erp5_payroll_l10n_fr/PathTemplateItem/portal_deliveries/pay_sheet_transaction_builder.xml

diff --git a/bt5/erp5_payroll_l10n_fr/PathTemplateItem/portal_deliveries/pay_sheet_transaction_builder.xml b/bt5/erp5_payroll_l10n_fr/PathTemplateItem/portal_deliveries/pay_sheet_transaction_builder.xml
new file mode 100644
index 0000000000..d155c4583d
--- /dev/null
+++ b/bt5/erp5_payroll_l10n_fr/PathTemplateItem/portal_deliveries/pay_sheet_transaction_builder.xml
@@ -0,0 +1,218 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="DeliveryBuilder" module="Products.ERP5Type.Document.DeliveryBuilder"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>OrderMovementGroup</string>
+                <string>PathMovementGroup</string>
+                <string>DateMovementGroup</string>
+                <string>ResourceMovementGroup</string>
+                <string>VariantMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>collect_order_list</string> </key>
+            <value>
+              <list>
+                <string>test</string>
+                <string>test2</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>collect_order_list_id</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>comment</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_after_generation_method_id</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_after_generation_script_id</string> </key>
+            <value> <string>AccountingTransaction_roundDebitCredit</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_cell_collect_order</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_cell_portal_type</string> </key>
+            <value> <string>Pay Sheet Cell</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_cell_separate_order</string> </key>
+            <value>
+              <tuple>
+                <string>calculateAddQuantity</string>
+                <string>calculateAveragePrice</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>DateMovementGroup</string>
+                <string>RootAppliedRuleCausalityMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_line_collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>PathMovementGroup</string>
+                <string>SectionPathMovementGroup</string>
+                <string>ResourceMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_line_portal_type</string> </key>
+            <value> <string>Pay Sheet Transaction Line</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_module</string> </key>
+            <value> <string>accounting_module</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_portal_type</string> </key>
+            <value> <string>Pay Sheet Transaction</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_select_method_id</string> </key>
+            <value> <string>InvoiceTransaction_selectDelivery</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Build Accounting Lines on Pay Sheets</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>pay_sheet_transaction_builder</string> </value>
+        </item>
+        <item>
+            <key> <string>last_id</string> </key>
+            <value> <string>1</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Delivery Builder</string> </value>
+        </item>
+        <item>
+            <key> <string>resource_portal_type</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>simulation_select_method_id</string> </key>
+            <value> <string>PaySheetTransaction_selectMovement</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Pay Sheet Transaction Builder</string> </value>
+        </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>BTrees.Length</string>
+          <string>Length</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>BTrees.OOBTree</string>
+          <string>OOBTree</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>BTrees.OOBTree</string>
+          <string>OOBTree</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_payroll_l10n_fr/bt/revision b/bt5/erp5_payroll_l10n_fr/bt/revision
index 2e66562e27..c5b431b6cb 100644
--- a/bt5/erp5_payroll_l10n_fr/bt/revision
+++ b/bt5/erp5_payroll_l10n_fr/bt/revision
@@ -1 +1 @@
-49
\ No newline at end of file
+50
\ No newline at end of file
diff --git a/bt5/erp5_payroll_l10n_fr/bt/template_path_list b/bt5/erp5_payroll_l10n_fr/bt/template_path_list
index aa2a6ce08a..48ec35eaf8 100644
--- a/bt5/erp5_payroll_l10n_fr/bt/template_path_list
+++ b/bt5/erp5_payroll_l10n_fr/bt/template_path_list
@@ -4,4 +4,5 @@ portal_categories/salary_range/france/tranche_1
 portal_categories/salary_range/france/tranche_2
 portal_categories/salary_range/france/tranche_a
 portal_categories/salary_range/france/tranche_b
-portal_categories/salary_range/france/tranche_c
\ No newline at end of file
+portal_categories/salary_range/france/tranche_c
+portal_deliveries/pay_sheet_transaction_builder
\ No newline at end of file
-- 
2.30.9