[Kmymoney-devel] New account creation issues
Thomas Baumgart
thb at net-bembel.de
Tue Jul 29 06:18:08 UTC 2014
Hi,
On Tuesday 29 July 2014 08:55:19 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?
Yes, my 0.02
> 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.
Asking for the reason might be a bit late. I honestly don't remember. It
could have been just a shortcut to avoid an imbalanced accounting tree
(since we did not know what to do with the other split of an opening
balance transaction of a category at the time).
To my understanding, we need a similar mechanism as the opening
balances account in the equity section called "outstanding income" or so
(you accountants out there help me with the wording, please) and
possibly another one for expenses.
> [1] https://bugs.kde.org/show_bug.cgi?id=297223
> [2]
>
http://kmymoney2.cvs.sourceforge.net/viewvc/kmymoney2/kmymoney2/kmy
money2/k
> mymoney2.cpp?r1=1.186&r2=1.187&
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
--
Regards
Thomas Baumgart
GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20140729/34b819ff/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20140729/34b819ff/attachment-0001.sig>
More information about the KMyMoney-devel
mailing list