TEMPORARY -- REBASE THIS OUT

Temporary reversion of r23416 so that reports tests will pass

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23437 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug 644044 - Lots: SQL backend loses link to Gain/Loss Txn

Gotta edit/commit the source transaction as well as the gains txn.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23438 57a11ea4-9604-0410-9ed3-97b8803252fd