AUDIT: r14591 - gnucash/trunk - Check for account type compatibility when creating a new account. Fixes

Christian Stimming stimming at tuhh.de
Sat Aug 12 11:00:15 EDT 2006


Am Samstag, 5. August 2006 11:41 schrieb Andreas Köhler:
> > New Revision: 14591
> > Trac: http://svn.gnucash.org/trac/changeset/14591
> >
> http://bugzilla.gnome.org/show_bug.cgi?id=344966
> makes me feel that there is more than one way to think about how to
> handle account type incompatibilities in the create/edit account dialog.
> Maybe I am plain wrong :)
>
> = The chosen account type is authoritative =
>
> "Either make me <T> or forget it". Seems to be the current behavior.
> If you reparent an account, ask the user whether she is willing to
> change the account type of all parents, their descendants and all
> children to make them compatible with <T>.
> r14591 adds the test for parent compatibility in the create account
> dialog in this fashion (before you could create incompatible adjacent
> accounts).
>
> = The chosen account type is a hint =
>
> "I would like to be <T>, but parents decision is OK too, will teach my
> children then".
> This is how I understand the request in comment #1.
> If you create or edit an account and <T> is incompatible with the
> parents type, suggest to adjust <T> (and the type of existing,
> <T>-compatible children). Never change parents.
>
> Maybe this has been discussed before, but what do you think? Which one
> is more useful / intuitive?

I think the second one is more intuitive, especially for the "never change 
parents" part. If I edit some subaccount, I would expect to be told to do 
something else with this subaccount (like, changing its type), but *not* be 
told to do something with the to-be new parents account. 

Christian



More information about the gnucash-devel mailing list