Summary: | Investment Holdings by Account shows previously sold stock with zero Shares and zero Amount | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Alvaro Soliverez <asoliverez> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Alvaro Soliverez
2011-08-18 17:24:37 UTC
Posted this on behalf of Peter Zay. To me, it looks like the stocks are not really zero. Peter, please post an anonymous file to debug this further. I can confirm this problem. The report entries go away if you close the account for the stock after they have all been sold. Ok, I found the problem. If it's not in expert mode, it will not allow you to select the individual stocks for the report. I'll add a purge of the accounts with zero balance and no transaction for the timeframe of the report, but it will have a small impact on performance. I'll be posting a reviewrequest shortly. SVN commit 1250384 by asoliverez: Check investment-only reports and only add subaccounts if the balance is non-zero or there are related transactions. BUG:280368 REVIEW:6779 M +67 -8 listtable.cpp M +3 -1 listtable.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1250384 |