Bug 278220 - Wrong values in Monthly Report "Amounts in accounts"
Summary: Wrong values in Monthly Report "Amounts in accounts"
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources macOS
: NOR normal
Target Milestone: ---
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 19:30 UTC by Christoph Vogtländer
Modified: 2012-03-01 20:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
sample skg file demonstrating the issue (378.02 KB, application/octet-stream)
2011-07-21 19:30 UTC, Christoph Vogtländer
Details
Sample skg file demonstrating the issues encountered with amount of assets in monthly report (374.02 KB, application/octet-stream)
2012-03-01 01:46 UTC, Christoph Vogtländer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Vogtländer 2011-07-21 19:30:27 UTC
Created attachment 62058 [details]
sample skg file demonstrating the issue

Version:           unspecified (using KDE 4.6.2) 
OS:                OS X

The values shown in Monthly Report section "Amounts in accounts" are wrong if values for Primary Currency are downloaded from Yahoo. Values are shown correctly in Dashboard. See attached example. Is this sort of setup unsupported? If I remove the internet code and set only one single value to "1" (with date somewhere in the past) everything works as expected. But I would miss the possibility to track EUR/USD trend.

Reproducible: Always

Steps to Reproduce:
Create new skg document (this will create primary currency "€" for me). Add internet code and download values. Create account with primary currency set to €, add some operations. Create Monthly report. (see attached file)

Actual Results:  
values in monthly report section "Amounts in accounts" are wrong

Expected Results:  
values in monthly report should be the same as in dashboard
Comment 1 Stephane MANKOWSKI 2011-07-22 20:54:58 UTC
Git commit 88e661468dfe7d0d5c4b198fdea8b52ce0af8c6e by Stephane Mankowski.
Committed on 22/07/2011 at 22:54.
Pushed by smankowski into branch 'Feature'.

BUG: 278220: Wrong values in Monthly Report "Amounts in accounts"

M  +1    -0    CHANGELOG
M  +1    -1    skgbankmodeler/skgaccountobject.cpp

http://commits.kde.org/skrooge/88e661468dfe7d0d5c4b198fdea8b52ce0af8c6e
Comment 2 Christoph Vogtländer 2012-03-01 01:45:03 UTC
I'm experiencing a similar problem again with skrooge 1.3.0 beta (build from git master branch). Only "Assets" are affected. The amount of "Credit Card", "Current" and "Other" (other types not tested) are correct. When I delete all entries of my primary currency everything works as expected like in original post.
Please see attached sample. In the Monthly report the "Amount in Accounts" for Account2 should be 137,63€ and not 95,58€. Dashboards reports amount correctly.
Comment 3 Christoph Vogtländer 2012-03-01 01:46:36 UTC
Created attachment 69200 [details]
Sample skg file demonstrating the issues encountered with amount of assets in monthly report
Comment 4 Stephane MANKOWSKI 2012-03-01 20:01:18 UTC
Git commit 206f8decb4f2932532aebe4e84e77755e00b107b by Stephane Mankowski.
Committed on 01/03/2012 at 21:00.
Pushed by smankowski into branch 'Feature'.

M  +1    -0    CHANGELOG
M  +2    -1    skgbankmodeler/skgunitobject.cpp

http://commits.kde.org/skrooge/206f8decb4f2932532aebe4e84e77755e00b107b