Bug 375312

Summary: Cannot close an investment account
Product: [Applications] kmymoney Reporter: Pavol <pavol.minarik>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ralf.habacker
Priority: NOR Keywords: triaged
Version: 4.8.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pavol 2017-01-19 19:22:20 UTC
After successful reconciliation of 2 mutual funds (which are sub account to and asset account) it is not possible to close them for some reason. The balance is also 0.00 and they do not have any scheduled transactions which reference these accounts and also do not have any additional sub accounts. The tooltip however still shows that in "All subaccounts must be closed before the account can be closed". What can be done to resolve this problem?
Comment 1 Ralf Habacker 2017-06-27 15:03:36 UTC
You can save your file as xml file and fix this issue using a text editor. In this file search for the related account, search for additional sub accounts and inspect if they all have the following flag set:

  <PAIR key="mm-closed" value="yes"/>

If not find the id of the related account (attribute id as shown below)

<ACCOUNT currency="BRL" description="" parentaccount="AStd::Asset" opened="2016-01-01" number="" lastmodified="2017-06-27" type="1" id="A000001" lastreconciled="" institution="" name="Conta">
  
and search for any reference to it e.g ('A000001' in this example). 

Then report what you did found to this bug.
Comment 2 Andrew Crouthamel 2018-09-28 02:40:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-28 03:16:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!