[GNC] Transaction between stock account and non-default currency account looks OK from perspective of former, completely blank in latter, doesn't even ask for a conversion rate, doesn't allow setting one

наб nabijaczleweli at nabijaczleweli.xyz
Mon Nov 10 14:54:56 EST 2025


Hi!

Given the following scenario:
1. unit of account PLN, root account in PLN
2. stock account with let's-say-LTC
3. bank/asset account in a non-PLN currency (let's say EUR)

Entering a transaction into the LTC account that looks like
  Sell: LTC -2 shares @ 360 zł = 720 zł total sell
  Buy:  EUR                      720 zł total buy
looks correct in the LTC account view,
but in the EUR account view it's all-0
(all splits are there, in a 3-split variant there's 3 splits.
 but they're all 0).

The balance of the EUR account is unchanged by this transaction.

I am not prompted for a conversion rate.
Right-clicking -> Edit Conversion Rate is refused,
and gnucash tells me I can't be doing that.

As I hope is natural, a correct result would be
(a) to be prompted for the conversion rate (let's say 4zł=1€), and
(b) from the perspective of the EUR account, for the tx to look like
  Sell: LTC -180 €
  Buy:  EUR +180 €
(c) the balance of the EUR account increases by 180€ instead of by 0.

I reproed this on Debian gnucash 5.6-1~bpo12+1 and 5.13-1,
and on Win32 5.11.

I'm attaching screenshots as well as a reproducer reduced from my journal.

Reporting here since I'm seemingly forbidden from reporting on bugzilla.

Please keep me in CC, as I'm not subscribed.

Best,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repro.stock.png
Type: image/png
Size: 14426 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20251110/11dd19f9/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repro.currency.png
Type: image/png
Size: 14079 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20251110/11dd19f9/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repro.gnucash
Type: application/octet-stream
Size: 1697 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20251110/11dd19f9/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20251110/11dd19f9/attachment-0001.sig>


More information about the gnucash-user mailing list