[GNC] Change account type by editing XML?

david whiting dw at davidwhiting.me.uk
Wed Apr 29 16:14:19 EDT 2020


On Wed, 29 Apr 2020 at 20:29, Maf. King <maf at chilwell.net> wrote:
>
> Just a thought - if you change the account parent away from A/R can you then
> change the type?
>
> HTH,
> Maf.
>

No, unfortunately moving the parent account doesn't allow me to change it.

David


>
>
> On Wednesday, 29 April 2020 19:25:25 BST david whiting wrote:
> > Hello,
> >
> > When I first set up my accounts (for a local club) I knew very little
> > about accounting and misinterpreted some information I was given by an
> > accountant and ended up creating some sub-accounts in Accounts Receivable.
> > I now know that was not the correct thing to do, and I should have created
> > these accounts as straight-forward asset accounts.
> >
> > Using gnucash I cannot change the account type for these accounts. When I
> > use ctrl+e on these accounts I only see account type A/Receivable so I
> > cannot change them through the GUI.
> >
> > I've compared the XML structure of one of these accounts with another
> > simple asset account and they are the same except for the <act:type>, i.e.:
> >
> > <act:type>RECEIVABLE</act:type>
> >
> > versus
> >
> > <act:type>ASSET</act:type>
> >
> > I've tried editing this (on a copy) and simply changing RECEIVABLE to ASSET
> > seems to work when I re-open the file. Once this is done I used gnucash to
> > move the account to the correct place in the accounts hierarchy and all
> > seemed well.
> >
> > Before I do this to all instances in my working file are there any
> > potential adverse consequences that doing this could cause that I am
> > not aware of?
> >
> > Thanks.
> >
> > David
>
>
> --
> Maf. King
> PGP Key fingerprint = 8D68 A91F 733B 2C1F 43B7  2B7C E591 E8E1 0DE7 C542
>
>
>
>
>


-- 
David Whiting


More information about the gnucash-user mailing list