gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Mon Sep 30 17:14:22 EDT 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/78ef5be7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5c5b627c (commit)
	from  https://github.com/Gnucash/gnucash/commit/711554ec (commit)



commit 78ef5be7b2de12490781dac62a4698e761326e9e
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 30 14:06:30 2024 -0700

    Warn and don't try to balance a transaction with a too-small imbalance.
    
    In a book using trading accounts, if the user sets an account's
    minimum fraction to be smaller than the commodity's and makes use of
    the extra fraction, GnuCash can't create a correct trading split
    because that uses the commodity fraction. Instead of offering to
    balance the transaction, put up an error dialog explaing that the
    transaction can't be balanced.
    
    Ref Bug 799432 (https://bugs.gnucash.org/show_bug.cgi?id=799423)

commit 5c5b627cb147ecc8f7816e66abf60bbaedb98ce7
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 30 12:49:52 2024 -0700

    Bug 799423 - Crash when creating ETF transaction
    
    Don't keep the old split if it's a trading split. The balance code
    regenerates those, invalidating the pointer.



Summary of changes:
 .../ledger-core/split-register-control.cpp         | 26 +++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)



More information about the gnucash-patches mailing list