Bug 271463

Summary: Investment Performance fixes
Product: [Applications] kmymoney Reporter: Jose Arthur Benetasso Villanova <jose.arthur>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A kmymoney file with the bugs reported. Note that I increase the stock price due a float point exception.
This patch should fix the problems that I described

Description Jose Arthur Benetasso Villanova 2011-04-22 03:47:33 UTC
Created attachment 59196 [details]
A kmymoney file with the bugs reported. Note that I increase the stock price due a float point exception.

Version:           SVN trunk (using KDE 4.6.1) 
OS:                Linux

* Do not sum added shares in "Buys";
* Sum all pieces of a Dividend / Yeld split transaction.

Reproducible: Always

Steps to Reproduce:
Create an investment and buy 1000.00 in stocks, 10 each;
Add 10 stocks.
Create another investment and buy 1000.00 in stocks, 10 each;
Add dividends in a split transaction, 20 in dividends, 10 in taxes.

Actual Results:  
The first Investment Performance report display 1100 in buys.
The second Investment Performance report display 20 in dividends paid out.

Expected Results:  
The first Investment Performance report stock should display 1000 in buys.
The second Investment Performance report stock should display 10 in dividends paid out.
Comment 1 Jose Arthur Benetasso Villanova 2011-04-22 03:49:29 UTC
Created attachment 59197 [details]
This patch should fix the problems that I described
Comment 2 Alvaro Soliverez 2011-05-02 02:34:01 UTC
SVN commit 1230067 by asoliverez:

Fix reporting of dividends and added shares. Patch provided by Jose Arthur Benetasso Villanova.
BUG:271463

 M  +4 -8      querytable.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1230067