[Kmymoney-devel] [kmymoney4] [Bug 325793] loan payment calculated using wrong currency when currencies of loan and payment account differ
Cristian Oneț
onet.cristian at gmail.com
Tue Mar 31 16:18:32 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=325793
Cristian Oneț <onet.cristian at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit|http://commits.kde.org/kmym |http://commits.kde.org/kmym
|oney/d87427c4e8fad8226c1f1a |oney/6fed3349e20c2ce9898058
|80bbb094d9cc59a2ab |b036b3a20ec90ad033
--- Comment #10 from Cristian Oneț <onet.cristian at gmail.com> ---
Git commit 6fed3349e20c2ce9898058b036b3a20ec90ad033 by Cristian Oneț.
Committed on 31/03/2015 at 16:18.
Pushed by conet into branch '4.7'.
Properly handle loan payments from accounts using a different currency
If a payment account that has a different currency than the currency
of the loan is selected in the loan wizard, the resulting scheduled
transaction would not have the proper value in the currency of the
payment account.
Fixed this by requesting the user to perform the currency conversion
from the amount of the payment in the currency of the loan to the
amount in the currency of the payment account. This conversion is done
using the standard mechanism provided by the currency calculator.
After this was fixed I observed that the amount of the scheduled
transaction was not being rendered properly in the homepage. Fixed
this by using the same amount formating that is used in the ledger.
REVIEW: 123177
(cherry picked from commit d87427c4e8fad8226c1f1a80bbb094d9cc59a2ab)
Conflicts:
kmymoney/views/khomeview.cpp
M +3 -3 kmymoney/views/khomeview.cpp
M +12 -6 kmymoney/wizards/newaccountwizard/knewaccountwizard.cpp
http://commits.kde.org/kmymoney/6fed3349e20c2ce9898058b036b3a20ec90ad033
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list