Commit 2b0cd374 authored by Aurel's avatar Aurel

check balance at first workflow transistion until spec are up to date

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19772 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 013b6df7
...@@ -140,7 +140,7 @@ transaction.edit(aggregate=check.getRelativeUrl())\n ...@@ -140,7 +140,7 @@ transaction.edit(aggregate=check.getRelativeUrl())\n
\n \n
context.updateBankingOperation(state_change)\n context.updateBankingOperation(state_change)\n
\n \n
if no_balance_check == 1 or state_change[\'transition\'].getId() == "plan_action":\n if no_balance_check == 1:\n
return\n return\n
\n \n
# Test if the account balance is sufficient.\n # Test if the account balance is sufficient.\n
......
392 394
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment