mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Suppress other register's blank transactions from General Ledger
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23585 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
21e0e19f34
commit
e90a0c00ba
@ -499,6 +499,13 @@ gnc_split_register_load (SplitRegister *reg, GList * slist,
|
||||
|
||||
if (pending_trans == trans)
|
||||
found_pending = TRUE;
|
||||
/* If the transaction has only one split, and it's not our
|
||||
* pending_trans, then it's another register's blank split and
|
||||
* we don't want to see it.
|
||||
*/
|
||||
else if (xaccTransCountSplits (trans) < 2)
|
||||
continue;
|
||||
|
||||
|
||||
/* Do not load splits from the blank transaction. */
|
||||
if (trans == blank_trans)
|
||||
|
Loading…
Reference in New Issue
Block a user