* qif-merge-groups.scm: Limit matches against only the accounts in

the old group, so we don't match against ourselves.  This should
	  limit the matches to only "reasonable" matches, and should fix #102463


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7842 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/g2-gog-integ
Derek Atkins 24 years ago
parent a21813baa3
commit 025ddb52aa

@ -13,6 +13,10 @@
NOTE: Might need similar fixed in qif-io-core?
* qif-merge-groups.scm: Limit matches against only the accounts in
the old group, so we don't match against ourselves. This should
limit the matches to only "reasonable" matches, and should fix #102463
2003-01-15 David Hampton <hampton@employees.org>
* configure.in: Remove restriction on guile versions > 1.4.

@ -63,6 +63,11 @@
(gnc:progress-dialog-update progress-dialog)))
(gnc:query-set-book query (gnc:group-get-book old-group))
;; first, we want to find only transactions from the old group.
(gnc:query-add-account-match query
(gnc:group-get-subaccounts old-group)
'guid-match-any 'query-and)
;; the date should be close to the same.. +/- a week.
(let ((date (gnc:transaction-get-date-posted xtn)))

Loading…
Cancel
Save