Bug 298560

Summary: account not correctly displayed or associated
Product: [Applications] kmymoney Reporter: Philippe Debrabant <debrabant.philippe>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: major CC: agander93
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Philippe Debrabant 2012-04-21 16:17:17 UTC
I've just realized that some accounts of my kmymoney file are not correctly displayed.
In the past I imported QIF files for 2 accounts : investment account and bank account. Transactions from investment account are related to the bank account.
This is what I see :
- When the account list is displayed, only one account (and not 2) is showned : bank account, but with the investment icon. I can't change the account type.
- When I open this account there is no transaction !
- If I search for transaction from beneficiary I find the bank's transactions. GOOD!
- If I double-clic on a transaction from the list, the bank account is open (investment icon) with its transactions, but I can't modify any one.
- If I check the account's hierarchy, the hierarchy is empty and I can't change it.
- I can't find my investment account

I would like to delete these accounts and reimport them but I can't delete any one.

I exported the file in a mySQL database to see what happened. Curiously there are 3 accounts in place of 2.

Can you help me to clean my file ?

Reproducible: Always

Steps to Reproduce:
1.Open account list

3.
Actual Results:  
2.bank account appears, but with the investment icon, investment account not appears

Expected Results:  
The 2 accounts should appear.
Comment 1 Jack 2012-04-21 16:33:19 UTC
I don't have an answer, some additional information might help.
What version of KMM are you using?  
Is the bank account set as the brokerage account for the investment account?  
Were both of those accounts created before you did the QIF import?  
In the Configure KMM dialog, are any of the settings on the Filter tab set to hide some of the transactions?
Comment 2 Philippe Debrabant 2012-04-22 08:40:02 UTC
THANKS ! In the configure dialog, settings hide closed accounts and investment accounts are not displayed.
I use 4.5.3 version from Ubuntu 11.10 packages. (I try to install the 4.6.2 version, but errors are reported from cmake : "Could not find module FindQGpgme.cmake" and "Could not find KdepinLibs".)
The QIF files was exported from MS Money 2003. In this program, yes, the bank account is set as the brokerage account for the investment account.

It's OK now : I have clean my file. But I have a remark : if I choose to hide closed accounts, I think these accounts should appear in the account pannel of the report configuration dialog. If an account was active 10 years ago and a report was created for this period (including this account), the result should be the same when I consult the report now. It's not the case because the closed account is no longer included.
Comment 3 allan 2012-04-22 10:15:00 UTC
Glad your initial problem is fixed, and you have closed the bug report.

Your suggestion about reports should be reported separately here as a wishlist item, to ensure it doesn't get overlooked.