Neil Williams <[EMAIL PROTECTED]> writes:

> 5. Problems with AccountGroup - although the new accounts are committed to the 
> original book and the book is restored correctly, the changed accounts don't 
> appear. I suspect this is due to incomplete support for AccountGroup.

Yea... AccountGroups aren't first-class objects.  they aren't stored,
per-se, and they don't have GUIDs or other identifiers.  Indeed,
there's absolutely no way to uniquely specify a top-level
AccountGroup!

So, this is definitely a quandry; one simple fix might be to add an
xaccGroupGetGUID() which returns the Group->ParentAccount->GUID for
everything but a top-level Group, where it returns Group->Book->GUID.

But I don't know if this would help you at all in your merge process.

-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
       [EMAIL PROTECTED]                        PGP key available
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to