r23387 - gnucash/trunk/src - Collapse the two transaction currency scrubbing functions into one and fix some bugs.

Mike Alexander mta at code.gnucash.org
Sun Nov 10 22:10:00 EST 2013


Author: mta
Date: 2013-11-10 22:09:57 -0500 (Sun, 10 Nov 2013)
New Revision: 23387
Trac: http://svn.gnucash.org/trac/changeset/23387

Modified:
   gnucash/trunk/src/engine/Scrub.c
   gnucash/trunk/src/engine/Scrub.h
   gnucash/trunk/src/import-export/log-replay/gnc-log-replay.c
Log:
Collapse the two transaction currency scrubbing functions into one and fix some bugs.
The most serious bug was that it would, in some cases, set the transaction's currency
to a non-currency commodity.  It also sometimes set the currency directly without calling
xaccTransSetCurrency which skipped a number of side effects.



More information about the gnucash-patches mailing list