Bug 439825 - Unable to create a new account in ledger other than of Expense or Income parent
Summary: Unable to create a new account in ledger other than of Expense or Income parent
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.2
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-14 07:27 UTC by Dawid Wróbel
Modified: 2021-07-14 13:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Wróbel 2021-07-14 07:27:34 UTC
SUMMARY
When a non-existing Account/Category is typed in the Ledger, KMM asks user if they want to create it. While any parent account/category in the hierarchy can be chosen in the ledger, the dialog will only allow a new Expense/Income category to be created. This is needlessly limiting the User Experience, requiring additional hops to create a non-Category account.

STEPS TO REPRODUCE
1. In ledger, in transaction edit mode, type in an account name that is non-existing and with a non-category parent (a non-Expense and non-Income parent)


OBSERVED RESULT
1. Notice that the Dialog will still limit the choice to Expense and Income categories


EXPECTED RESULT
2. The "New Category" dialog should instead be "New Category" dialog and allow creation of any type of account, not just a Category
Comment 1 Thomas Baumgart 2021-07-14 13:35:57 UTC
This is not possible with the current implementation as there is no common dialog to create accounts and categories. It was also not part of the original design.

We may have to overhaul the new account wizard to support creation of categories. Therefore, I have turned this into a wishlist item. In case we do that, we should do it on master.