QIF Import created spurious accounts

Ian Lewis ianmlewis at gmail.com
Sat Dec 29 23:57:37 EST 2007


2007/12/14, Derek Atkins <warlord at mit.edu>:
>
> "Ian Lewis" <ianmlewis at gmail.com> writes:
> > Hmm, Changing the default currency in the gnucash preferences seems to
> allow
> > me to import the QIF with that currency, i.e. It doesn't create the
> extra
> > accounts, which is what I would expect. Why would it use the system
> locale
> > currency when it could use the gnucash default currency?
>
> Hmm.. That's pretty weird.  Admittedly, GnuCash doesn't have a good
> concept (currently) of "default currency".  There are many of them.
> There's the default new-account currency (set in the prefs), there's
> the default report currency (also set in the prefs), and there's the
> locale currency (set in the computer locale, outside of gnucash).
>
> Which currency applies where is... confusing at best.  Eventually
> that should get cleaned up, in our copious amounts of free time.
>
> -derek
>
> --
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord at MIT.EDU                        PGP key available
>

For the record, the default currency for the QIF import druid seems to be
the default currency for new accounts. This line of thinking comes from the
fact that the druid seems and the import itself seem to think the currency
are different things. The druid thinks that the currency is for new accounts
that get created by the importer, but the import itself uses it as the
currency for the entire QIF file. This leads to confusing stuff when you are
importing into accounts that are different than the default new account
currency but don't actually create any new accounts.

I'm testing a small patch which essentially just makes the currency dialog
come up every time, not just when you are adding new accounts. You mentioned
that the default should be the locale currency. Right now it's using the
default new account currency so I think I'll go ahead and fix this too.

I'll add the patch to the bug I submitted when I'm finished.

Ian


More information about the gnucash-user mailing list