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

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


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

           What    |Removed                     |Added
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |http://commits.kde.org/kmym
                   |                            |oney/850b95c19fad793f7a5e5b
                   |                            |1011161e7883aa7636

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

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

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