Hi, While working on this [1] I found the following problem. Right now we have two different functions performing the same task, account creation:
1. KMyMoneyApp::createAccount 2. KMyMoneyApp::slotAccountNew I guess 1 was the old (original) function and 2 was added when the account wizard was added. Both functions are still called from various places. 1 is called from the QIF importer and when creating a new category. 2 is called when creating a new account. One difference between the two is that for investments with opening balances 1 creates the opening balance in the brokerage account if it exists 2 always creates it in the investment account. So there are differences in the way accounts are created depending on the place the account creation is triggered, should we fix this? Another issue related to the bug is the constraint that for categories and investment accounts the user should not be able to edit the opening balance [2]. What's the reason for this decision? A user could want to account for previous expenses/incomes while setting up a category. I don't see anything wrong with allowing that. Regards, Cristian [1] https://bugs.kde.org/show_bug.cgi?id=297223 [2] http://kmymoney2.cvs.sourceforge.net/viewvc/kmymoney2/kmymoney2/kmymoney2/kmymoney2.cpp?r1=1.186&r2=1.187& _______________________________________________ KMyMoney-devel mailing list KMyMoney-devel@kde.org https://mail.kde.org/mailman/listinfo/kmymoney-devel