Commit 55f96cda authored by Aurel's avatar Aurel

do not check balance when doing plan action

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19712 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 973fd501
...@@ -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:\n if no_balance_check == 1 or state_change[\'transition\'].getId() == "plan_action":\n
return\n return\n
\n \n
# Test if the account balance is sufficient.\n # Test if the account balance is sufficient.\n
......
389 391
\ 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