From 4cb6b073daef572581fadba7a8cd8e08ac405bc7 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 3 Aug 2007 09:09:11 +0000
Subject: [PATCH] fixed typo error

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

diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml
index aa1c559960..9bc5b8af25 100644
--- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml
+++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml
@@ -111,12 +111,12 @@ elif resource <> 0 :\n
 if transaction.isDematerialization():\n
   for line in transaction.objectValues(portal_type=\'Cash Delivery Line\'):\n
     if line.getResourceValue().getPortalType() != \'Coin\':\n
-      msg = Message(domain="ui", message="Sorry, dematerializatio is possible only with coins.")\n
+      msg = Message(domain="ui", message="Sorry, dematerialization is possible only with coins.")\n
       raise ValidationFailed, (msg,)\n
   # Also we must make sure that the source_section is defined\n
-  source_section = transation.getSourceSection()\n
+  source_section = transaction.getSourceSection()\n
   if source_section is None:\n
-    msg = Message(domain="ui", message="Sorry, dematerializatio is possible only if the external agency is defined.")\n
+    msg = Message(domain="ui", message="Sorry, dematerialization is possible only if the external agency is defined.")\n
     raise ValidationFailed, (msg,)\n
   if not \'encaisse_des_billets_retires_de_la_circulation\' in vault:\n
     msg = Message(domain="ui", message="Invalid source.")\n
@@ -184,7 +184,6 @@ if transaction.isDematerialization():\n
                             <string>total_price</string>
                             <string>_getiter_</string>
                             <string>line</string>
-                            <string>transation</string>
                           </tuple>
                         </value>
                     </item>
diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision
index 1f704ce60d..4991210660 100644
--- a/bt5/erp5_banking_cash/bt/revision
+++ b/bt5/erp5_banking_cash/bt/revision
@@ -1 +1 @@
-449
\ No newline at end of file
+451
\ No newline at end of file
-- 
2.30.9