From 309be1709577e0bbf26af08c54fcb6c431031eb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 23 Jan 2008 16:08:33 +0000
Subject: [PATCH] fix script call

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18841 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../money_deposit_workflow/scripts/validateCounter.xml          | 2 +-
 bt5/erp5_banking_cash/bt/revision                               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/money_deposit_workflow/scripts/validateCounter.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/money_deposit_workflow/scripts/validateCounter.xml
index 7748937af6..840d6d0c5d 100644
--- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/money_deposit_workflow/scripts/validateCounter.xml
+++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/money_deposit_workflow/scripts/validateCounter.xml
@@ -100,7 +100,7 @@ if destination is None:\n
 \n
 # check we are in an opened accounting day\n
 transaction.Baobab_checkCounterDateOpen(site=destination, date=transaction.getStartDate())\n
-transaction.Baobab_checkCounterOpened(site=destination)\n
+transaction.Baobab_checkCounterOpened(destination)\n
 \n
 site = transaction.getDestinationValue()\n
 # I comment theses lines, because it\'s not necessary to control if all counter is opened or not at the moment : CISSE\n
diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision
index 51f1d23291..2bf5aee89b 100644
--- a/bt5/erp5_banking_cash/bt/revision
+++ b/bt5/erp5_banking_cash/bt/revision
@@ -1 +1 @@
-566
\ No newline at end of file
+567
\ No newline at end of file
-- 
2.30.9