Version: unspecified (using KDE 4.4.5) OS: Linux Payee Cleaner: A button / menu item accessible from the Payees page which removes all currently unused payees. This is useful for the removal of payees that are added automatically by OFX direct download, like MARATHON FUEL AN0987837ROCKFORD, which I always rename to something more readable. Reproducible: Didn't try
Thomas, do you think the list of unused payees could be provided by the engine? Something similar to: select payeeId from payees where payeeId not in (select distinct payeeId from transactions)
Hmm, it's not only the transactions. The reference is also in scheduled transactions and reports (maybe elsewhere). One could get the list of all payees and then iterate over it while using the return code of MyMoneyFile::instance()->isReferenced(payee) to check if it is still in use or not. http://kmymoney2.sourceforge.net/kmymoney2-api/html/classMyMoneyFile.html#422700dc3c2bf3df54819ee32c968f9a has the details.
Ok. The feature I will add is a combobox to filter by used or unused payees. By default, it will show all payees. From there, you can select all unused payees and delete them quickly. Adding a specific button only to remove unused payee is an overkill, IMHO. I prefer to add the filter, and with 2 clicks you can remove any one you want.
SVN commit 1169309 by asoliverez: Added filter to payee view to search for unused payees BUG:249005 M +25 -6 kpayeesview.cpp M +9 -0 kpayeesview.h M +9 -1 kpayeesviewdecl.ui WebSVN link: http://websvn.kde.org/?view=rev&revision=1169309
I just compile from SVN and deleted all of my unused Payees. It seems to have worked perfectly. Thanks, ---- Brendan On Sat, Aug 28, 2010 at 8:42 PM, Alvaro Soliverez <asoliverez@kde.org>wrote: > https://bugs.kde.org/show_bug.cgi?id=249005 > > > Alvaro Soliverez <asoliverez@kde.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |RESOLVED > Resolution| |FIXED > > > > > --- Comment #4 from Alvaro Soliverez <asoliverez kde org> 2010-08-29 > 05:42:25 --- > SVN commit 1169309 by asoliverez: > > Added filter to payee view to search for unused payees > > BUG:249005 > > M +25 -6 kpayeesview.cpp > M +9 -0 kpayeesview.h > M +9 -1 kpayeesviewdecl.ui > > > WebSVN link: http://websvn.kde.org/?view=rev&revision=1169309 > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are the assignee for the bug. > _______________________________________________ > KMyMoney-devel mailing list > KMyMoney-devel@kde.org > https://mail.kde.org/mailman/listinfo/kmymoney-devel >
Works great for me, thanks!
Hello, Is this fix supposed to be in 4.5.1? I do not see any filter in the Payees view. Thanks, Gaëtan
It is not in 4.5.1, because it is a new feature, and 4.5.1 is a bugfix release.