[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:21 UTC 2014


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kmym
                   |                            |oney/7f61ffb728b58bbb905bba
                   |                            |87e184e221a7d9858a
             Status|UNCONFIRMED                 |RESOLVED

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

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.

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/7f61ffb728b58bbb905bba87e184e221a7d9858a

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


More information about the KMyMoney-devel mailing list