Bug 353002 - Add ability to hide zero-balance equities on Investments page
Summary: Add ability to hide zero-balance equities on Investments page
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.7.2
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-21 19:05 UTC by Jeff
Modified: 2017-03-04 08:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0


Attachments
Show/Hide zero-balance investment account equities (4.58 KB, patch)
2015-09-21 19:07 UTC, Jeff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff 2015-09-21 19:05:58 UTC
I have several hundred investment trades where I have bought and sold the stock, so that my current share balance is zero.  All of these stocks are listed on the "Equities" tab on the "Investments" page.  I would like to be able to display only my current holdings, in other words, hide the equities if I currently hold zero shares.

Reproducible: Always

Steps to Reproduce:
1. For example, buy 100 shares of stock, sell the shares. 


Actual Results:  
The stock is still listed in the Equities list with zero value and zero quantity.

Expected Results:  
Be able to hide the stocks I no longer own.

For your consideration, I have a patch that adds a checkbox to the Equities tab, and logic to hide (or show) zero-balance equities.
Comment 1 Jeff 2015-09-21 19:07:50 UTC
Created attachment 94668 [details]
Show/Hide zero-balance investment account equities
Comment 2 NSLW 2017-03-04 08:36:59 UTC
Git commit 6471f04e80b95fb68fbe451c5ed6436ff0fb7541 by Łukasz Wojniłowicz.
Committed on 04/03/2017 at 08:32.
Pushed by wojnilowicz into branch 'master'.

Show/Hide zero-balance investment account equities
Related: bug 282515

Differential Revision: https://phabricator.kde.org/D4685

M  +7    -0    kmymoney/dialogs/settings/ksettingsgeneraldecl.ui
M  +4    -0    kmymoney/kmymoney.kcfg
M  +8    -1    kmymoney/views/kinvestmentview.cpp

https://commits.kde.org/kmymoney/6471f04e80b95fb68fbe451c5ed6436ff0fb7541