[Kmymoney-devel] New account creation issues
Jack
ostroffjh at sbcglobal.net
Tue Jul 29 13:18:34 UTC 2014
On 2014.07.29 01:55, Cristian Oneț wrote:
> 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.
Allowing an opening balance for a category would probably be necessary
if we ever implement a way of archiving all data prior to some cutoff,
such as start of new fiscal year.
>
> 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&
More information about the KMyMoney-devel
mailing list