Bug 426037

Summary: Net Worth Graph Report displays incorrect amount with a stock split and using weekly tick
Product: [Applications] kmymoney Reporter: Michael Carpino <mfcarpino>
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 Michael Carpino 2020-08-31 22:10:11 UTC
SUMMARY  When I entered a stock split for today (August 31st Apple shares split 4 for 1) I am observing an inaccurate reporting calculation (significant drop) when I looking at my weekly ticks Net Worth Graph.  I'm using the standard Net Worth Graph Default report. This report defaults to Monthly ticks which correct displays the correct amount. And it also displays correctly when you set the Ticks to Daily.  Set it to weekly and it displays a drop in Net Worth that is incorrect.


STEPS TO REPRODUCE
1. Enter a Stock Split.  4 shares for 1 on August 31
2. Enter the New Share amount for the shares that split for August 31
3. Open the Default Report Net Worth Graph
4. Observe the Monthly Values
5. Change the Ticks field to Weekly. Configure > Range > Ticks > Weekly Observe the drop in Net Worth.
6. Change the Ticks field to Daily.  Observe the correct reporting and no drop in Net Worth.





EXPECTED RESULT

Selection of "weekly" ticks reports correct amount

SOFTWARE/OS VERSIONS

Linux/Ubuntu: 20:04