Bug 329450 - Picking currency rates - prices - in dependency of posting date desired
Summary: Picking currency rates - prices - in dependency of posting date desired
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-31 02:59 UTC by Armin W. Sauer
Modified: 2017-03-25 19:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin W. Sauer 2013-12-31 02:59:58 UTC
This is not a bug, but rather a suggestion for an enhanced feature. Currently when you are working on transactions in foreign currency and a currency translation is needed the system always suggests the latest rate, which is maintained in the pricelist. This is doumented in the manual, thus the software behaves accordingly, but from a business poit of view something else is desirable.
Desired behaviour is that the system looks up the last rate (price) maintained prior to the posting date. This is rtaher handy in the situation when you are not working near time, but worj on two or three months of transactions in a row and have maintained the respective prices. My scenario for instance is this: I am still maintaining a FX account in the country where I am coming from, fund it every one-to-two month (the applied FX rate is the going rate for the next period coming), but post it actually in the system only eevry three, four months.

Reproducible: Always

Steps to Reproduce:
1. Maintain FX rates (prices for currencies) for April 1, 2013, May 2013 and June 1, 2013 for EUR/CAD. Home currency is CAD, while FX is EUR. 
2. Enter a transaction dated April 15, 2013 in EUR on a FX account and categorize it as an expense.
3. The FX popup is launched
Actual Results:  
The latest rate as of June 1,2013 is suggested.

Expected Results:  
The rate as of April 1, 2013 shall be suggested.

I am using version 4.61 on Ubuntu, but according to the release notes and the changelog it looks as if nothing has changed in the most recent versions (4.62 to 4.64) at that end.
Comment 1 NSLW 2017-03-25 19:45:18 UTC
Git commit 67f1b1b1728a7fa554fca2e3e2b64337ef1ef949 by Łukasz Wojniłowicz.
Committed on 25/03/2017 at 19:44.
Pushed by wojnilowicz into branch 'master'.

Pick split's price for split's date
FIXED-IN:5.0

M  +1    -1    kmymoney/dialogs/kcurrencycalculator.cpp

https://commits.kde.org/kmymoney/67f1b1b1728a7fa554fca2e3e2b64337ef1ef949