From 5ed32dc8e1b55a0979ae4724ac72dfaca15066ea Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Tue, 23 Feb 2010 08:02:54 +0000
Subject: [PATCH] accept related_simulation_movement_path_list argument for
 some post generation scripts.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32995 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...edInvoiceTransaction_postTransactionLineGeneration.xml | 8 +++++---
 bt5/erp5_advanced_invoicing/bt/revision                   | 2 +-
 .../InvoiceTransaction_postTransactionLineGeneration.xml  | 8 +++++---
 bt5/erp5_invoicing/bt/revision                            | 2 +-
 4 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/bt5/erp5_advanced_invoicing/SkinTemplateItem/portal_skins/erp5_advanced_invoicing/AdvancedInvoiceTransaction_postTransactionLineGeneration.xml b/bt5/erp5_advanced_invoicing/SkinTemplateItem/portal_skins/erp5_advanced_invoicing/AdvancedInvoiceTransaction_postTransactionLineGeneration.xml
index d97b245fc6..e92428da16 100644
--- a/bt5/erp5_advanced_invoicing/SkinTemplateItem/portal_skins/erp5_advanced_invoicing/AdvancedInvoiceTransaction_postTransactionLineGeneration.xml
+++ b/bt5/erp5_advanced_invoicing/SkinTemplateItem/portal_skins/erp5_advanced_invoicing/AdvancedInvoiceTransaction_postTransactionLineGeneration.xml
@@ -75,7 +75,7 @@ context.InvoiceTransaction_postTransactionLineGeneration(**kw)\n
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>**kw</string> </value>
+            <value> <string>related_simulation_movement_path_list=None, **kw</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -95,7 +95,7 @@ context.InvoiceTransaction_postTransactionLineGeneration(**kw)\n
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
+                        <value> <int>1</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
@@ -119,7 +119,9 @@ context.InvoiceTransaction_postTransactionLineGeneration(**kw)\n
         <item>
             <key> <string>func_defaults</string> </key>
             <value>
-              <none/>
+              <tuple>
+                <none/>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_advanced_invoicing/bt/revision b/bt5/erp5_advanced_invoicing/bt/revision
index 780fea92d2..efee1f88bb 100644
--- a/bt5/erp5_advanced_invoicing/bt/revision
+++ b/bt5/erp5_advanced_invoicing/bt/revision
@@ -1 +1 @@
-77
\ No newline at end of file
+78
\ No newline at end of file
diff --git a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_postTransactionLineGeneration.xml b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_postTransactionLineGeneration.xml
index eae2af1f35..603240f028 100644
--- a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_postTransactionLineGeneration.xml
+++ b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_postTransactionLineGeneration.xml
@@ -94,7 +94,7 @@ context.AccountingTransaction_roundDebitCredit()\n
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>**kw</string> </value>
+            <value> <string>related_simulation_movement_path_list=None, **kw</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -114,7 +114,7 @@ context.AccountingTransaction_roundDebitCredit()\n
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
+                        <value> <int>1</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
@@ -144,7 +144,9 @@ context.AccountingTransaction_roundDebitCredit()\n
         <item>
             <key> <string>func_defaults</string> </key>
             <value>
-              <none/>
+              <tuple>
+                <none/>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_invoicing/bt/revision b/bt5/erp5_invoicing/bt/revision
index 4b74f2216d..832f62a3cb 100644
--- a/bt5/erp5_invoicing/bt/revision
+++ b/bt5/erp5_invoicing/bt/revision
@@ -1 +1 @@
-338
\ No newline at end of file
+339
\ No newline at end of file
-- 
2.30.9