Normally, I have 'Show equity accounts' unchecked, but after difficulty deleting a transaction, I had left it checked. While doing some testing, I was importing an investment file, and all went as normal until I was presented with the KMM Account Selection dialog. This showed the investment account as usual, but also the equity accounts. A little non-plussed by this, I selected the equity account, and the import proceeded apparenrly correctly, until I opened the investment account. The correct number of transactions were present, the dates were correct, as were the security name, the quantity and the balance. However, the same activity type was repeated for each item, the price contained the symbol and 1.000000, and the value was the symbol followed by 0.000. This was using the CSV plugin, but exactly the same happened with a QIF file. Reproducible: Always Steps to Reproduce: 1. In the configuration, select 'Show equity accounts'. 2. Import an investment file. 3. When the KMM Account Selection dialog appears, select the equity account rather than the investment account. 4. Proceed with the import. Actual Results: The correct number of transactions were present, the dates were correct, as were the security name, the quantity and the balance. However, the same activity type was repeated for each item, the price contained the symbol and 1.000000, and the value was the symbol followed by 0.000. Expected Results: The KMM Account Selection dialog should not give the user the opportunity to import into an incorrect acount type. It should show only investment accounts.
Allan, this issue didn't see any activity since 2012, could you attach at least a test investment file which can be imported to reproduce this issue?
Created attachment 91940 [details] Screenshot after import to equity account. Investment file to follow - it's just one picked at random.
Created attachment 91941 [details] CSV investment file used to demonstrate the problem. Configure display of equity accounts. Import into stock/equity account instead of investment account. Presumably, there is no valid reason for the equity accounts to be offered as an import choice?