[Kmymoney-devel] [kmymoney4] [Bug 338684] Cleared amount is incorrect for liability accounts

Cristian Oneț onet.cristian at gmail.com
Sun Aug 31 18:46:01 UTC 2014


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

           What    |Removed                     |Added
      Latest Commit|http://commits.kde.org/kmym |http://commits.kde.org/kmym
                   |oney/850b95c19fad793f7a5e5b |oney/93afc106c9a861349b3fe6
                   |1011161e7883aa7636          |f71f7351f26aab3d92

--- Comment #2 from Cristian Oneț <onet.cristian at gmail.com> ---
Git commit 93afc106c9a861349b3fe6f71f7351f26aab3d92 by Cristian Oneț.
Committed on 31/08/2014 at 18:41.
Pushed by conet into branch 'frameworks'.

Fix the cleared balance of liability accounts.

The problem was caused by the fact that when refactored, the code
didn't consider the fact that previously the balance was also being
multiplied by factor. Instead of using factor at each step use it
only at the end when the result is returned since it's faster this
(cherry picked from commit 850b95c19fad793f7a5e5b1011161e7883aa7636)

M  +3    -4    kmymoney/mymoney/mymoneyfile.cpp


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

More information about the KMyMoney-devel mailing list