From 04c72b2e1d5d19f07e6c4209cacacef198173b25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 4 Jun 2010 11:08:27 +0000
Subject: [PATCH] fix after_path_and_method_id syntax

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35987 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../AccountingZuite_createAccountingTransactionList.xml       | 4 ++--
 ...gZuite_createAccountingTransactionListSalesAndPayments.xml | 4 ++--
 bt5/erp5_accounting_ui_test/bt/revision                       | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml b/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml
index 6427b86984..aa423bd16d 100644
--- a/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml
+++ b/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml
@@ -248,8 +248,8 @@ for month in range(1, month_count + 1):\n
                           portal_type=payment.getPortalAccountingMovementTypeList()):\n
             if line.getGroupingReference():\n
                line.activate(after_path_and_method_id=(\n
-                  (payment.getPath(), (\'recursiveImmediateReindexObject\', \'immediateReindexObject\')),\n
-                  (line.getPath(), (\'recursiveImmediateReindexObject\', \'immediateReindexObject\')),),\n
+                  ((payment.getPath(),), (\'recursiveImmediateReindexObject\', \'immediateReindexObject\')),\n
+                  ((line.getPath(),), (\'recursiveImmediateReindexObject\', \'immediateReindexObject\')),),\n
                ).AccountingTransactionLine_resetGroupingReference()\n
 \n
       else:\n
diff --git a/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListSalesAndPayments.xml b/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListSalesAndPayments.xml
index ac607cac04..40786724fd 100644
--- a/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListSalesAndPayments.xml
+++ b/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionListSalesAndPayments.xml
@@ -176,8 +176,8 @@ for month in range(1, month_count + 1):\n
                           portal_type=ptr.getPortalAccountingMovementTypeList()):\n
           if line.getGroupingReference():\n
              line.activate(after_path_and_method_id=(\n
-                  (ptr.getPath(), (\'recursiveImmediateReindexObject\', \'immediateReindexObject\')),\n
-                  (line.getPath(), (\'recursiveImmediateReindexObject\', \'immediateReindexObject\')),),\n
+                  ((ptr.getPath(),), (\'recursiveImmediateReindexObject\', \'immediateReindexObject\')),\n
+                  ((line.getPath(),), (\'recursiveImmediateReindexObject\', \'immediateReindexObject\')),),\n
              ).AccountingTransactionLine_resetGroupingReference()\n
 \n
 \n
diff --git a/bt5/erp5_accounting_ui_test/bt/revision b/bt5/erp5_accounting_ui_test/bt/revision
index b00047941a..9da06a1833 100644
--- a/bt5/erp5_accounting_ui_test/bt/revision
+++ b/bt5/erp5_accounting_ui_test/bt/revision
@@ -1 +1 @@
-159
\ No newline at end of file
+160
\ No newline at end of file
-- 
2.30.9