Bug 350284

Summary: Impossible to delete an account
Product: [Applications] kmymoney Reporter: Noussibeau <eric.deboussineau>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: lukasz.wojnilowicz
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:

Description Noussibeau 2015-07-16 09:46:36 UTC
Having created a wrong account, I wanted to delete it ..
Impossible ligne greyed in the contextual menu ..
Nothing special about that account. That's the only one to do that.

Reproducible: Always
Comment 1 allan 2015-07-16 10:54:41 UTC
On 16/07/15 10:46, Noussibeau wrote:
> https://bugs.kde.org/show_bug.cgi?id=350284
>
>              Bug ID: 350284
>             Summary: Impossible to delete an account
>             Product: kmymoney4
>             Version: 4.7.2
>            Platform: Other
>                  OS: other
>              Status: UNCONFIRMED
>            Severity: normal
>            Priority: NOR
>           Component: general
>            Assignee: kmymoney-devel@kde.org
>            Reporter: eric.deboussineau@live.fr
>
> Having created a wrong account, I wanted to delete it ..
> Impossible ligne greyed in the contextual menu ..
> Nothing special about that account. That's the only one to do that.
>
> Reproducible: Always
>

You can't delete an account unless it has zero balance, or is still 
referenced elsewhere.

Check your schedules and reports, and sub-accounts.

Allan
Comment 2 Thomas Baumgart 2015-07-16 12:55:09 UTC
To be more precise: you can't close an account if it has a balance differing from 0. You cannot delete it if it contains transactions. Delete those as well or move them to another account. Schedules can also reference an account. I am not sure about reports. Could be that they will be removed from reports during their deletion.
Comment 3 NSLW 2017-08-20 15:26:52 UTC
Please uprgrade to at least 4.8 and then report back.