Derek Atkins wrote:
> Kevin HaleBoyes <[EMAIL PROTECTED]> 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.

2.0.5

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
gnc_book_get_root_account()
and if it returns NULL then gnc_account_create_root() is called.  But,
if
gnc_book_get_root_account() finds no root account then it creates one
and
returns it.


K.


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. 
http://www.encana.com



_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to