[kmymoney] [Bug 498033] Unclear definition for investment transaction ‘addition of shares’

Ralf Habacker bugzilla_noreply at kde.org
Wed Jan 1 09:26:16 GMT 2025


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

--- Comment #13 from Ralf Habacker <ralf.habacker at freenet.de> ---
The second problem is that in InvestTransactionEditor::saveTransaction() the
price is explicitly set to a value != 0.0. after 

    if (!d->stockSplit.shares().isZero()) {

The third problem is in QueryTable::constructTransactionTable(), where in this
case the qS[ctPrice] map key is not set, which means that the actual price used
is not displayed hiding issue one and two.

                ...
                if ((m_config.includes(splitAcc) && use_transfers &&
                        !(splitAcc.isInvest() && include_me)) || splits.count()
== 1) { // otherwise stock split is displayed twice in report
                    if (! splitAcc.isIncomeExpense()) {

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


More information about the KMyMoney-devel mailing list