[Kmymoney-devel] Review Request: Remove stocks from a report if balance is zero

Thomas Baumgart thb at net-bembel.de
Tue Aug 30 19:40:08 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6779/#review10396
-----------------------------------------------------------

Ship it!


Looks good to me


trunk/extragear/office/kmymoney/kmymoney/reports/listtable.cpp
<http://svn.reviewboard.kde.org/r/6779/#comment12201>

    Is the it_b still required here, since it is hidden by the one declared on line 662


- Thomas


On Aug. 29, 2011, 3:29 a.m., Alvaro Soliverez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/6779/
> -----------------------------------------------------------
> 
> (Updated Aug. 29, 2011, 3:29 a.m.)
> 
> 
> Review request for kmymoney.
> 
> 
> Summary
> -------
> 
> This will check investments subaccount for a non-zero balance or for transactions during the time of the report, and only then it will add them to the report to be shown.
> 
> It will have an impact on performance, but the accounts have to be added to the report before knowing whether the stock is actually used or not.
> 
> 
> This addresses bug 280368.
>     https://bugs.kde.org/show_bug.cgi?id=280368
> 
> 
> Diffs
> -----
> 
>   trunk/extragear/office/kmymoney/kmymoney/reports/listtable.h 1249965 
>   trunk/extragear/office/kmymoney/kmymoney/reports/listtable.cpp 1249965 
> 
> Diff: http://svn.reviewboard.kde.org/r/6779/diff
> 
> 
> Testing
> -------
> 
> Tested with my own file, against investment and non-investment reports. The performance does not seem ti be affected a great deal
> 
> 
> Thanks,
> 
> Alvaro
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20110830/cd97ca72/attachment.html>


More information about the KMyMoney-devel mailing list