Commit 5a07ff7b authored by Sebastien Robin's avatar Sebastien Robin

fixed a rounded value

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11226 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9155c2d5
...@@ -123,7 +123,7 @@ for movement in movement_list:\n ...@@ -123,7 +123,7 @@ for movement in movement_list:\n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
\n \n
if total_credit>0:\n if total_credit>0:\n
total_credit = round(total_credit+0.5)\n total_credit = round(total_credit,0)\n
# Source and destination will be updated automaticaly based on the category of bank account\n # Source and destination will be updated automaticaly based on the category of bank account\n
# The default account chosen should act as some kind of *temp* account or *parent* account\n # The default account chosen should act as some kind of *temp* account or *parent* account\n
movement = transaction.get(\'movement\',None)\n movement = transaction.get(\'movement\',None)\n
......
48 51
\ 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