Bug 255646 - Exchange rate not applied in Net worth by month report
Summary: Exchange rate not applied in Net worth by month report
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-30 10:09 UTC by Petr Bravenec
Modified: 2010-11-14 22:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Bravenec 2010-10-30 10:09:34 UTC
Version:           4.5
OS:                Linux

I have an account in foreign exchange. I have opening balances set at the begining of this year - not at the opening date of the real account. Now I wanted to compare the net worth with exchange rate at the time of opening real account. I moved the opening date of the account and opening balance transaction to 2009-12-31 and set the exchange rate manually (i have not taken the rate from yahoo for this day). All others rates are taken from yahoo.

Now I went to "Net worth by month" report and I have found that ALL months are recalculated with my manually entered exchange rate, not with rates downloaded from yahoo.

It can be switched back to right values when I move the opening date to 2010-01-01 so the manually entered rate is ignored.

Reproducible: Always



Expected Results:  
Net worth should be calculated and reported with downloaded exchange rates.

OS: Linux (x86_64) release 2.6.34-gentoo-r1
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Alvaro Soliverez 2010-11-14 04:54:47 UTC
Go to Prices and verify that you have the prices for those dates.
There is no difference between manually entered and online retrieved prices. KMyMoney will use whatever price is available. In this case, there is probably none.

Verify that in the Prices dialog, please.
Comment 2 Petr Bravenec 2010-11-14 22:49:28 UTC
I believe there is no difference between manually entered and dowloaded rates.

When I looked to list of prices I have found that there were two different rates: USD.CZK and CZK.USD. When no rate for 2009-12-31 is entered then both rates (USD.CZK and CZK.USD) were used for recalculations. When the rate USD.CZK is entered for 2009-12-31 then only USD.CZK rate was taken for recalculation.

Now I tried to set exchange rate CZK.USD, not USD.CZK and recalculation is ok.

I looks that sometimes is there situation when both USD.CZK and CZK.USD rates were used and sometimes it there situation when only one of the rates was used.