gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sun Oct 12 16:43:03 EDT 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/e22c4065 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4523ccee (commit)
	from  https://github.com/Gnucash/gnucash/commit/fb6e8d92 (commit)



commit e22c4065475c040ee4f521752a4e7b7f536bee61
Merge: fb6e8d927e 4523ccee3b
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Oct 12 12:58:59 2025 -0700

    Merge Dong Lin's 'stable-stale-import-balance' into stable.

commit 4523ccee3bb9f2b541022b11a1f9e68ef2c70058
Author: Dong Lin <c54e-gnucash at yahoo.com>
Date:   Sun Oct 12 09:20:10 2025 -0700

    Fix stale account balances and grand total during transaction import
    
    The bug:
    
    After importing transactions from an existing account, the grand total net assets is updated to N,
    and the ending balance of the imported account is X.
    
    Quit and restart gnucash, the net assets changes to N+X.
    
    on_matcher_ok_clicked invokes gnc_resume_gui_refresh before the account is fully commited.
    xaccAccountRecomputeBalance skips an account if it has pending edits.
    
    The fix:
    Invoke gnc_resume_gui_refresh after all accounts have fully commited.
    
    Tests:
    
    make check
    
    reran the above test, the net assets balance is updated to N+X without restarting gnc.



Summary of changes:
 gnucash/import-export/import-main-matcher.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)



More information about the gnucash-patches mailing list