mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Changing the transaction number can affect the split sort order and
thus the running account balances. Fixes #386074. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15989 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1428,6 +1428,7 @@ xaccTransSetNum (Transaction *trans, const char *xnum)
|
||||
|
||||
CACHE_REPLACE(trans->num, xnum);
|
||||
qof_instance_set_dirty(QOF_INSTANCE(trans));
|
||||
mark_trans(trans); /* Dirty balance of every account in trans */
|
||||
xaccTransCommitEdit(trans);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user