r22735 - gnucash/trunk/src/register/ledger-core - Do a better job of prompting for an exchange rate only when needed.

Mike Alexander mta at code.gnucash.org
Wed Jan 30 00:22:39 EST 2013


Author: mta
Date: 2013-01-30 00:22:38 -0500 (Wed, 30 Jan 2013)
New Revision: 22735
Trac: http://svn.gnucash.org/trac/changeset/22735

Modified:
   gnucash/trunk/src/register/ledger-core/split-register-control.c
   gnucash/trunk/src/register/ledger-core/split-register-load.c
   gnucash/trunk/src/register/ledger-core/split-register-model.c
   gnucash/trunk/src/register/ledger-core/split-register-p.h
   gnucash/trunk/src/register/ledger-core/split-register.c
Log:
Do a better job of prompting for an exchange rate only when needed.
If the debit or credit value of a split changes, prompt for an exchange rate.
Don't prompt for an exchange rate in a register that doesn't have a rate cell
(and fix a bug so that it knows that portfolio registers don't have one).
If the transaction has been autofilled and edited start with a nearby rate
from the prices DB.  If it is an existing transaction start with the exchange
rate it already has.



More information about the gnucash-patches mailing list