[Kmymoney-devel] [Bug 243534] New: Nonzero Total Balance of Investment Account

Jan jan_cecile at verizon.net
Sat Jul 3 22:05:22 CEST 2010


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

           Summary: Nonzero Total Balance of Investment Account
           Product: kmymoney4
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: jan_cecile at verizon.net


Version:           unspecified (using KDE 1.2) 
OS:                Linux

On the Accounts page, the Total Balance of an Investment Account was nonzero
(account unrolled).  I traced this back to a QIF import of a stock that I had
not yet defined in this account.  The import skipped Buy and Sell activities,
but did process an Add Shares activity.  The corresponding Security had no name
(field was blank). Everything else in this Add Shares record was correct.  The
nonzero Total Balance of the Investment account was equal to the number of
added shares.

Furthermore, since the Total Balance was equal to the number of added shares,
KMM must have assigned a price of 1 Euro per share here.  This is not correct. 
The actual value is Undefined.  As I suppose KMM cannot handle this, I think a
zero value would be a better default here (perhaps this should be filed as a
separated bug).

KMyMoney 1.0.4 under KDE 3.5.10

BTW:  Gnucash detects the QIF import of an undefined stock and lets the user
define the stock on the fly.


Reproducible: Always

Steps to Reproduce:
I repeated the same QIF import and got a second line of Add Shares.  KMM did
not identify it was a duplicate.



The minimum would be for KMM to skip the import of all activities of the
undefined security.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list