clearcorp team mailing list archive
-
clearcorp team
-
Mailing list archive
-
Message #00520
[Branch ~banking-addons-team/banking-addons/6.1] Rev 152: [FIX] Rounding difference in clieop export lines
Merge authors:
Stefan Rijnhart (Therp) (stefan-therp)
Related merge proposals:
https://code.launchpad.net/~therp-nl/banking-addons/ba61-lp1098699-fix_clieop_rounding_issue/+merge/142978
proposed by: Stefan Rijnhart (Therp) (stefan-therp)
review: Approve - Alexandre Fayolle @ camptocamp (alexandre-fayolle-c2c)
review: Approve - Holger Brunn (Therp) (hbrunn)
------------------------------------------------------------
revno: 152 [merge]
author: Stefan Rijnhart <stefan@xxxxxxxx>
committer: Guewen Baconnier <guewen.baconnier@xxxxxxxxxxxxxx>
branch nick: banking-addons
timestamp: Mon 2013-01-14 09:53:47 +0100
message:
[FIX] Rounding difference in clieop export lines
modified:
account_banking_nl_clieop/wizard/clieop.py
--
lp:banking-addons
https://code.launchpad.net/~banking-addons-team/banking-addons/6.1
Your team CLEARCORP development team is subscribed to branch lp:banking-addons.
To unsubscribe from this branch go to https://code.launchpad.net/~banking-addons-team/banking-addons/6.1/+edit-subscription
=== modified file 'account_banking_nl_clieop/wizard/clieop.py'
--- account_banking_nl_clieop/wizard/clieop.py 2011-07-21 11:30:59 +0000
+++ account_banking_nl_clieop/wizard/clieop.py 2013-01-11 19:42:19 +0000
@@ -278,7 +278,7 @@
self.transaction.transactiontype = type_
self.transaction.accountno_beneficiary = accountno_beneficiary
self.transaction.accountno_payer = accountno_payer
- self.transaction.amount = int(amount * 100)
+ self.transaction.amount = round(amount * 100)
if reference:
self.paymentreference.paymentreference = reference
# Allow long message lines to redistribute over multiple message