GNOME Bugzilla – Bug 302682
New account unavailable in register where it was created
Last modified: 2018-06-29 20:51:46 UTC
Please describe the problem: I have a brokerage account. In the register for that account, I enter a buy transaction for a stock previously unknown to gnucash, so in the course of that transaction, I create the new stock account. Later in the same session, I want to enter a sell transaction for the same stock (I am migrating from Microsoft Money to Gnucash and am manually entering some transactions that did not make into the import). When I attempt to enter the sell, the stock account used in the earlier buy is not available in the transfer pulldown (the listing of accounts in that pulldown is stale). If I close the brokerage account register and reopen it, the stock account is now available in the pulldown listing. Steps to reproduce: 1. It's in the problem description above. 2. 3. Actual results: See description. Expected results: See description. Does this happen every time? Yes. Other information:
There's another problem related to the one described in this report: let's say you have a checking account, a gnucash 'bank' account. You open the ledger for that account and decide to enter a transaction involving the checking account and an account that doesn't exist yet. You go to the accounts window and create the new account. When you go back to the checking account ledger to enter the new transaction, you cannot use the newly created account. Gnucash behaves as if the accounts that a ledger knows about are those that existed at the time the ledger window was opened and only those. To make the ledger aware of accounts added subsequently, you must close and re-open the ledger.
*** This bug has been marked as a duplicate of 152101 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=302682. Please update any external references or bookmarks.