Merge authors:
  Stefan Rijnhart (Therp) (stefan-therp)
Related merge proposals:
  
https://code.launchpad.net/~therp-nl/banking-addons/ba61-clieop_amount_should_be_integer/+merge/143124
  proposed by: Stefan Rijnhart (Therp) (stefan-therp)
  review: Approve - Niels Huylebroeck (red15)
------------------------------------------------------------
revno: 155 [merge]
fixes bug: https://launchpad.net/bugs/1098699
author: Stefan Rijnhart <[email protected]>
committer: Niels Huylebroeck <[email protected]>
branch nick: banking-addons
timestamp: Fri 2013-01-18 12:29:19 +0100
message:
  [MERGE] account_banking_nl_clieop: amount exported should be expressed in 
cents and be integer.
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	2013-01-11 19:42:19 +0000
+++ account_banking_nl_clieop/wizard/clieop.py	2013-01-14 15:21:11 +0000
@@ -278,7 +278,7 @@
         self.transaction.transactiontype = type_
         self.transaction.accountno_beneficiary = accountno_beneficiary
         self.transaction.accountno_payer = accountno_payer
-        self.transaction.amount = round(amount * 100)
+        self.transaction.amount = int(round(amount * 100))
         if reference:
             self.paymentreference.paymentreference = reference
         # Allow long message lines to redistribute over multiple message

_______________________________________________
Mailing list: https://launchpad.net/~clearcorp
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~clearcorp
More help   : https://help.launchpad.net/ListHelp

Reply via email to