GNOME Bugzilla – Bug 651889
Using trading accounts, new non-expanded trading transaction shows inverted rates in exchange dialog
Last modified: 2018-06-29 22:58:42 UTC
Created attachment 189240 [details] [review] Patch With the option "trading accounts" enabled: If you create a new trading transaction in-line, you obviously enter the amount in the currency of the current account. The exchange dialog will however ask for a rate to convert from the target currency to the current one instead of the inverse. This is especially annoying when you want to specify a "to" amount instead of a rate. Attached is a patch that solves this. Note that the following already works perfectly, and is not affected by this patch: - creating a new transaction with the transaction dialog - creating a new transaction in-line, in expanded mode Also note that I cannot explain why the amounts have to be negated in some cases.
Probably the same issue as bug 641863.
Comment on attachment 189240 [details] [review] Patch In r20783. I have also marked this one for backporting to 2.4. Thanks a lot !
...and backported to r20788 on the 2.4 branch by Christian. The GnuCash project looks forward to your additional contributions :)
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=651889. Please update any external references or bookmarks.