Bug 271463 - Investment Performance fixes
Summary: Investment Performance fixes
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: SVN
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-22 03:47 UTC by Jose Arthur Benetasso Villanova
Modified: 2011-05-02 02:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
A kmymoney file with the bugs reported. Note that I increase the stock price due a float point exception. (7.24 KB, application/x-kmymoney)
2011-04-22 03:47 UTC, Jose Arthur Benetasso Villanova
Details
This patch should fix the problems that I described (1.65 KB, patch)
2011-04-22 03:49 UTC, Jose Arthur Benetasso Villanova
Details

Note You need to log in before you can comment on or make changes to this bug.
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