diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_movement_workflow/scripts/setMovementStopDate.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_movement_workflow/scripts/setMovementStopDate.xml
index 0c1fa19105fefe370861ba16fc646faa457d412b..93ab2868f2b2cc0b9a84db616c0ed3e30d677c6c 100644
--- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_movement_workflow/scripts/setMovementStopDate.xml
+++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_movement_workflow/scripts/setMovementStopDate.xml
@@ -71,7 +71,7 @@
 # Hence, this script must have a proxy role to modify what user cannot.\n
 from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
 from Products.ERP5Type.Message import Message\n
-transaction = state_change.object\n
+transaction = state_change[\'object\']\n
 stop_date_key = \'your_stop_date\'\n
 if not kw.has_key(stop_date_key):\n
   msg = Message(domain = "ui", message="No stop date provided")\n
@@ -141,14 +141,14 @@ context.validateDestinationCounterDate(state_change, **kw)\n
                             <string>ValidationFailed</string>
                             <string>Products.ERP5Type.Message</string>
                             <string>Message</string>
-                            <string>_getattr_</string>
+                            <string>_getitem_</string>
                             <string>transaction</string>
                             <string>stop_date_key</string>
+                            <string>_getattr_</string>
                             <string>msg</string>
-                            <string>_getitem_</string>
                             <string>_write_</string>
                             <string>_apply_</string>
-<string>context</string>
+                            <string>context</string>
                           </tuple>
                         </value>
                     </item>
diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/vault_transfer_workflow/scripts/validateVaultBalance.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/vault_transfer_workflow/scripts/validateVaultBalance.xml
index e6a13bb88dbcecb4d6ccf3f73f2814bec37833b0..fa86779e4e2f1e65c7dbf68935fe49abf3272e81 100644
--- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/vault_transfer_workflow/scripts/validateVaultBalance.xml
+++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/vault_transfer_workflow/scripts/validateVaultBalance.xml
@@ -93,11 +93,11 @@ if \'reserve\' in vault and \'salle_tri\' in vaultDestination:\n
                          \'destination\':transaction.getDestinationValue().getParentValue().getTitle()})\n
 \n
   raise ValidationFailed, (msg,)\n
-resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n
+resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Vault Transfer Line\')\n
 \n
 # Get price and total_price.\n
 amount = transaction.getSourceTotalAssetPrice()\n
-total_price = transaction.getTotalPrice(portal_type=[\'Cash Delivery Line\',\'Cash Delivery Cell\'],fast=0)\n
+total_price = transaction.getTotalPrice(portal_type=[\'Vault Transfer Line\',\'Vault Transfer Cell\'],fast=0)\n
 \n
 if resource == 2:\n
   msg = Message(domain="ui", message="No Resource.")\n
diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision
index f9c94c8318066ba562fd1ce1e14753071396ea54..98c1572f67e72c2c54c6e949b21406e146df0b5b 100644
--- a/bt5/erp5_banking_cash/bt/revision
+++ b/bt5/erp5_banking_cash/bt/revision
@@ -1 +1 @@
-325
\ No newline at end of file
+327
\ No newline at end of file