[Erp5-report] r19712 - in /erp5/trunk/bt5/erp5_banking_check: WorkflowTemplateItem/portal_w...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 6 09:41:08 CET 2008
Author: aurel
Date: Thu Mar 6 09:41:08 2008
New Revision: 19712
URL: http://svn.erp5.org?rev=19712&view=rev
Log:
do not check balance when doing plan action
Modified:
erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/scripts/validateConsistency.xml
erp5/trunk/bt5/erp5_banking_check/bt/revision
Modified: erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/scripts/validateConsistency.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/scripts/validateConsistency.xml?rev=19712&r1=19711&r2=19712&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/scripts/validateConsistency.xml (original)
+++ erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_payment_workflow/scripts/validateConsistency.xml Thu Mar 6 09:41:08 2008
@@ -140,7 +140,7 @@
\n
context.updateBankingOperation(state_change)\n
\n
-if no_balance_check == 1:\n
+if no_balance_check == 1 or state_change[\'transition\'].getId() == "plan_action":\n
return\n
\n
# Test if the account balance is sufficient.\n
Modified: erp5/trunk/bt5/erp5_banking_check/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/bt/revision?rev=19712&r1=19711&r2=19712&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_check/bt/revision Thu Mar 6 09:41:08 2008
@@ -1,1 +1,1 @@
-389
+391
More information about the Erp5-report
mailing list