GNOME Bugzilla – Bug 139651
Register: Split transaction with multiple currencies fails
Last modified: 2018-06-29 20:42:42 UTC
Need one activa account and two expenses. Activa is foreign currency (in my case NOK), expenses are in home-currency (in my case EUR) Now add a multipart transaction in the activa account with parts to the expenses accounts The transaction shows up in the expenses account but no money is subtracted! Sometimes there is a workaround to change the exchangerate in the activa-account. But othertimes this is impossible.
What version of gnucash are you using? Multiple-split transactions into multiple currencies work just fine in MOST circumstances (there are a few issues when you enter transactions from certain interfaces. Basically, you just need to compute everything back to a single common currency (e.g. the activa account). You also don't say what method you are using to enter the transaction. Are you using the General Ledger or are you entering them from your Activa account? I need more information in order to reproduce this problem here.
Created attachment 26581 [details] Testcase for bug Here a testcase with one problematic booking.
I'm using 1.8.7
Jochen: Thanks for the test file. Note that we have fixed significant problems with multi-currency transactions recently, so you should consider upgrading to the brand-new 1.8.9 and see whether the problem still exists. Also, as Derek already asked, it is very important to know *how* you entered the errornous transaction: In which account register (or in the general ledger) did you enter which parts, and what were the results? Thanks.
Sorry, I forgot this. :-] I used the normal account view. I'll try the new 1.8.9 but that could take some time.
Which account did you use?
Grmpf. I could have guessed that that was too few information. Anyway: In the examplefile I used the aktive_nok - Account. hth, Jochen
Created attachment 26667 [details] Testcase_produced with 1.8.9 Just tried 1.8.9 Problem is still there. Added new testcase which I produced analog to the first one, but with 1.8.9. Again entered in accountview of activa-account
Well, I can definitely reproduce this here, so I'll reopen the bug.
and I'll take ownership. (why can't I reopen AND change owners in one commit?)
*** Bug 304687 has been marked as a duplicate of this bug. ***
Confirmed bug still present in SVN and 1.8.12, using the 1.8.9 file. When I run a transaction report, the NOK 80 shows up in an Imbalance account.
From bug #126471: Comment #3 from equi@nm.ru (points: 2) 2004-07-14 17:51 UTC [reply] A way to reproduce "bad multicurrency transactions": Create 3 cash accounts - two of same currency (say UAH-1,UAH-2), one of another (say USD-3). In USD-3 register add transfer transaction of $5 from UAH-1 account with 5.00 exchange rate. Everything works well. From UAH-1 register split this transaction and change amount 25.00 UAH spend to 30, this makes extra 5.00 UAH for receive, assign it to UAH-2 account. Enter transaction. This 5.00 amount disappears, transaction broke and become unbalanced.
I just checked - as the developers probably know - but just to be sure: the bug is still present in 2.0.2
Oh, I'm sure it's in 2.0.5, too.
The steps to reproduce from comment 13 do not work for me with the latest source code. GnuCash works correctly. So this must have been fixed.
And I just broke it again in r17451 for bug 543780. I will make further adjustments...
I just committed r17462 and now it works again. So in any case, I think we can close this bug when backport is complete.
Applied to branches/2.2 as r17519 for inclusion in GnuCash 2.2.7. Thanks a lot!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=139651. Please update any external references or bookmarks.