After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630578 - current date instead of posting date in exchange rate, when posting a bill
current date instead of posting date in exchange rate, when posting a bill
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Business
git-master
Other All
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2010-09-25 16:11 UTC by Frank H. Ellenberger
Modified: 2018-06-29 22:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frank H. Ellenberger 2010-09-25 16:11:05 UTC
Create a bill from a supplier in foreign currency in the past e.g. 2010-01-02. 
For the details use expense accounts in domestic currency.
Correcly GC informs you: At least one account is in a different currency before the exchange rate dialog appears.

But the dialog shows instead of posting date the current date.
Consequently it offers the most recent exchange rate instead of closest in time.

The rate is also stored with the current date, which makes it hard or impossible, to find it again, if you made an error.

N.B. It would be nice, if the dialog were not modal, so you could open the price datebase for researching the right rate.
Comment 1 Geert Janssens 2013-12-05 09:46:39 UTC
I have changed the invoice posting code to use the post date from now on in the exchange rate dialog and also for storing the new exchange rate.

Making the dialog not modal is not an option in the current code. The dialog appears in the middle of a post operation and the result of this operation depends on the actions taken by the user in the dialog. If it were not modal, the user could for example unpost the invoice again and make changes while the exchange rate dialog is still open.

Note: this fix will not be backported to 2.4. The code in this area changed too much between 2.4 and current trunk.
Comment 2 John Ralls 2018-06-29 22:45:05 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=630578. Please update any external references or bookmarks.