data file differences in 2.2
Hale Boyes, Kevin
Kevin.HaleBoyes at encana.com
Tue Jul 24 12:57:47 EDT 2007
Derek Atkins wrote:
> Kevin HaleBoyes <kcboyes at yahoo.com> writes:
>> I did notice one other thing. 2.0 doesn't know about the ROOT
>> account type so it changes the type to NO_TYPE. I'm wondering how
>> 2.2 will respond to that? Haven't tried it yet.
> What version of 2.0.x are you using? I /think/ that 2.2 is smart
> enough to convert that back to a ROOT account.
I've been poking around the code to see if it would convert
it back to a ROOT account but I get lost once it starts dealing with
the QOF code. I did notice what seems to be a bit of redundant code:
Around line 450 in gnc-account-xml-v2.c it calls
and if it returns NULL then gnc_account_create_root() is called. But,
gnc_book_get_root_account() finds no root account then it creates one
This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited. If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you.
More information about the gnucash-devel