[Kmymoney-devel] [kmymoney4] [Bug 334564] small deposits entered in foreign currency are wrongly converted to base currency

Cristian Oneț onet.cristian at gmail.com
Sat Oct 18 17:48:57 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=334564

Cristian Oneț <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/kmym |http://commits.kde.org/kmym
                   |oney/7f61ffb728b58bbb905bba |oney/f773f22f2685f7ae6e5bba
                   |87e184e221a7d9858a          |fd461873cdcc08e349

--- Comment #10 from Cristian Oneț <onet.cristian at gmail.com> ---
Git commit f773f22f2685f7ae6e5bbafd461873cdcc08e349 by Cristian Oneț.
Committed on 18/10/2014 at 17:41.
Pushed by conet into branch '4.7'.

Fix the currency conversion dialog for really big/small conversion rates.

If the to value was equal to zero when the dialog was constructed a bad
(inverse) conversion rate was applied. This code was there since version
1.5 (on CVS) of this file. I don't understand why it was added that way
but now it's fixed.

Also fixe the prices dialog to display the prices using the configured
price precision.

Now in case that the value after conversion becomes zero the transaction
can't be entered.
(cherry picked from commit 7f61ffb728b58bbb905bba87e184e221a7d9858a)

M  +1    -2    kmymoney/dialogs/kcurrencycalculator.cpp
M  +1    -6    kmymoney/dialogs/kmymoneypricedlg.cpp
M  +0    -1    kmymoney/dialogs/kmymoneypricedlg.h

http://commits.kde.org/kmymoney/f773f22f2685f7ae6e5bbafd461873cdcc08e349

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list