Commit 9b474589 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix r45564.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45572 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fbef772a
...@@ -67,7 +67,7 @@ if src__:\n ...@@ -67,7 +67,7 @@ if src__:\n
# XXX: BankAccount_getAvailablePosition returns position as a string for some reason...\n # XXX: BankAccount_getAvailablePosition returns position as a string for some reason...\n
raw_account_balance = account_balance = float(account_balance)\n raw_account_balance = account_balance = float(account_balance)\n
if round_balance:\n if round_balance:\n
account_balance = round(account_balance, resource.getQuantityPrecision())\n account_balance = round(account_balance, payment_value.getPriceCurrencyValue().getQuantityPrecision())\n
\n \n
if account_balance - quantity < 0:\n if account_balance - quantity < 0:\n
# insufficient balance\n # insufficient balance\n
......
575 576
\ 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