Bug 422854

Summary: Investment worth graph wrongly calculates reinvested dividends
Product: [Applications] kmymoney Reporter: koalaleaves+kde
Component: reportsAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.0.8   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description koalaleaves+kde 2020-06-12 06:39:13 UTC
SUMMARY
Investment worth graph wrongly calculates reinvested dividends by using the scip dividend's discounted price to calculate the value to the rest of the same stock in the portfolio. 

STEPS TO REPRODUCE
1. Add new reinvested dividend transaction in security A at a discounted price.
2. Investment worth graph shows a dip in balance at the discounted price, when only a portion of the security A portfolio was purchased at discounted price and the rest was purchased at market price.
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION