Commodities initialization list

John Ralls jralls at ceridwen.us
Mon Aug 10 11:29:25 EDT 2015


> On Aug 10, 2015, at 3:16 PM, Ngewi Fet <ngewif at gmail.com> wrote:
> 
> Hello everyone,
> Could someone point out to me where the commodities list is found in the
> repository?
> 
> I tried searching the repo and can find code which seems to indicate that
> there is a file which is loaded into the database on application start. But
> I cannot find the list itself.
> 
> I would like to initialize the Android app with the same list of
> commodities as the desktop version.
> Thanks.

There’s a currency list in src/engine/commodity-table.scm which holds the ISO currencies. All other commodities are user-defined.

Regards,
John Ralls




More information about the gnucash-devel mailing list