[Kmymoney-devel] [kmymoney4] [Bug 347166] "Price/share" field on investment transaction entry form is mislabeled. Actually is total buy/sale amount.

Thomas Baumgart ipwizard at users.sourceforge.net
Fri Sep 11 09:12:40 UTC 2015


--- Comment #17 from Thomas Baumgart <ipwizard at users.sourceforge.net> ---
>From the source comment of MyMoneyTransaction::splitSum()

    * This method is used to return the sum of all splits of this transaction
    * @return MyMoneyMoney value of sum of all splits

and a general requirement for a balanced book is, that this sum is always zero.
Otherwise, the transaction becomes imbalanced. So it is not strange at all but
perfect. The value() member of all splits is used to sum up here.

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

More information about the KMyMoney-devel mailing list