* revert patch in src/engine/Transaction.c -- imbalance is computed

by _value_ -- ALWAYS.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7635 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2002-12-07 04:47:55 +00:00
parent 50edf78b1d
commit ad293e3fc0
2 changed files with 10 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
2002-12-6 Benoit Gr<47>goire <bock@step.polymtl.ca>
2002-12-06 Derek Atkins <derek@ihtfp.com>
* revert patch in src/engine/Transaction.c -- imbalance is computed
by _value_ -- ALWAYS.
2002-12-06 Benoit Gr<47>goire <bock@step.polymtl.ca>
Huge patch, this is the new generic import
architecture/transaction matcher. Many old
@@ -64,6 +69,9 @@
the amount to the txn currency if necessary in cases where all
accounts involved in a split are different (strange edge case).
Fixes #100277
* src/register/ledger-core/split-register-model-save.c -- Handle
the case where only the exchrate changed. Actually change it!
2002-12-06 David Hampton <hampton@employees.org>

View File

@@ -1337,7 +1337,7 @@ xaccSplitsComputeValue (GList *splits, Split * skip_me,
* doesn't mean the denominators are the same! */
if (base_currency &&
gnc_commodity_equiv(currency, base_currency)) {
value = gnc_numeric_add(value, s->amount,
value = gnc_numeric_add(value, s->value,
GNC_DENOM_AUTO, GNC_DENOM_LCD);
}
else if (base_currency &&