[Kmymoney-devel] [Bug 240914] New: A stock account with stock split cannot be closed

Jan jan_cecile at verizon.net
Sun Jun 6 17:48:05 CEST 2010


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

           Summary: A stock account with stock split cannot be closed
           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
OS:                Linux

A stock account containing a stock split cannot be closed even if its balance
is zero and it is not referenced in any other account.  The problem does not
always occur, but one case where it does is when transactions are entered after
th stock split was defined.

Reproducible: Didn't try

Steps to Reproduce:
1. Create an investment ABC
2. Create a Buy of 1 share on 02/01/2010 for EUR 100
   Create a Split of 1/5 on 02/02/2010
   Create a Sell of 5 shares on 02/03/2010 for EUR 95
3. Go to Accounts and check that you can close ABC (do not close)
4. Create a Buy of 1 share of ABC on 01/31/2010 for EUR 95
   Create a Sell of 5 shares on 02/03/2010 for EUR 100
5. Go to Accounts and try to close ABC

Actual Results:  
The accounts list shows a zero balance for ABC, yet it cannot be closed.

Expected Results:  
It should be possible to close the stock.

-- 
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