r18878 - gnucash/trunk/src/business/business-ledger - Bug#325436 creating income account for invoice doesn't restrict account type

Derek Atkins warlord at MIT.EDU
Wed Mar 10 09:26:51 EST 2010


Geert Janssens <janssens-geert at telenet.be> writes:

> On Tuesday 9 March 2010, Derek Atkins wrote:
>> Geert Janssens <gjanssens at code.gnucash.org> writes:
>> > +        account_types = g_list_prepend (account_types,
>> > (gpointer)ACCT_TYPE_CREDIT); +        account_types = g_list_prepend
>> > (account_types, (gpointer)ACCT_TYPE_ASSET); +        account_types =
>> > g_list_prepend (account_types, (gpointer)ACCT_TYPE_LIABILITY);
>> 
>> Do you want to also add BANK or CASH?  I'm not sure if those are
>> necessary or required....
>> 
> I created the list of account types by looking at what account types you can 
> select in the business ledger for an invoice/bill. You can't select a BANK or 
> CASH account in there, so I figured it wouldn't make sense to allow the user 
> to add a new one in that particular context.

Okay, that's fair.  Yes, it should match what's allowed.

> Geert

-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