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 728074 - Posting bill converts currency to itself using 0 rate
Posting bill converts currency to itself using 0 rate
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Business
2.6.3
Other Mac OS
: Normal normal
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-12 04:08 UTC by John Gardiner Myers
Modified: 2018-06-29 23:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Gardiner Myers 2014-04-12 04:08:32 UTC
Changing the currency of a vendor when there is an unposted bill from that vendor causes a subsequent posting of the bill to be handled incorrectly.

Reproduction steps:

Create two accounts payable accounts, one in USD and the other in CAD.

Create a new vendor. Let the new vendor currency default to USD.

Create a new bill for the vendor. Fill out the invoice entries with a total of $1,000, using expense accounts that are in CAD.

Click on "Post". Notice the bill is being posted to the accounts payable account that is in USD. Realize you forgot to set the vendor currency to CAD. Click "Cancel".

Edit the vendor and change its currency to CAD.

Go back to the bill and click on "Post bill". Notice it is now being posted to the accounts payable account that is in USD. Click "OK".

Expected behavior:

Bill is posted in CAD into the accounts payable account in CAD, with an amount of CA$1,000.

Actual behavior:

Warning dialog box "One or more of the entries are for accounts different from the invoice/bill currency. You will be asked a conversion rate for each." Click "Close"

Transfer funds dialog box pops up showing a transfer from currency CAD to currency CAD with an exchange rate of 0.00.  All fields except the "Cancel" and "OK" button are greyed out.

If you click on "OK", it enters a transaction into the accounts payable account in CAD with an amount of CA$0.00.
Comment 1 John Gardiner Myers 2014-04-12 04:10:30 UTC
(In reply to comment #0)
> Go back to the bill and click on "Post bill". Notice it is now being posted to
> the accounts payable account that is in USD. Click "OK".

Correction: "...accounts payable account that is in CAD..."
Comment 2 Geert Janssens 2016-03-22 22:27:00 UTC
Thanks you for reporting this. It's easy to reproduce so I have committed a fix for the next gnucash release (2.6.12).
Comment 3 John Ralls 2018-06-29 23:29:30 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=728074. Please update any external references or bookmarks.