diff --git a/ChangeLog b/ChangeLog index 330e477494..67dab512b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ -2002-12-6 Benoit Grégoire +2002-12-06 Derek Atkins + + * revert patch in src/engine/Transaction.c -- imbalance is computed + by _value_ -- ALWAYS. + +2002-12-06 Benoit Grégoire 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 diff --git a/src/engine/Transaction.c b/src/engine/Transaction.c index cc25ef4ff3..1e8e2a05a1 100644 --- a/src/engine/Transaction.c +++ b/src/engine/Transaction.c @@ -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 &&