[Gnucash-changes] r13723 - gnucash/trunk - Mike Alexander's
patch to get currency quote retrieval working again,
Derek Atkins
warlord at MIT.EDU
Sat Apr 1 12:01:44 EST 2006
David Hampton <hampton at cvs.gnucash.org> writes:
> com = xaccAccountGetCommodity(act);
> if (com &&
> - !gnc_commodity_is_iso(com) &&
> + (!gnc_commodity_is_iso(com) || xaccAccountGetType(act) == CURRENCY) &&
> gnc_commodity_get_quote_flag(com)) {
> if (!kvpnode)
> kvpnode= xmlNewNode(NULL, BAD_CAST act_slots_string);
I'm not sure about this hunk.. CURRENCY type accounts are deprecated.
There's got to be a better way to notice that we should grab quotes
for this commodity other than testing for a CURRENCY type account.
-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
More information about the gnucash-devel
mailing list