r21182 - gnucash/trunk/src - Implement a balance for owners and show it on the owners view page

Christian Stimming christian at cstimming.de
Wed Aug 17 16:34:36 EDT 2011


Am Mittwoch, 17. August 2011 schrieb Geert Janssens:
> My next thought was, ok this is business related, so let's add it to
> gncBusiness in business/business-gnome, but I quickly had to abandon that
> idea since the functions need to be called from gnome-utils (where I chose
> to add the owner tree view and models).

Yes, I fully understand that.

> Eventually I ended up in app-utils, and the gnc-ui-util files already
> contained some balance calculation functions for accounts. So I figured it
> would be a good candidate for the extra owner balance calculation
> functions.

The app-utils module is a good place, agreed.

> But as you state it, it would be better to instead rip out all the balance
> calculation functions and create separate files for them.
> 
> Do you think it makes sense to add one file for all the balance functions
> (owner and account related) or would it be better to make one file for the
> owner balances and one for the account balances ?

I think one file for balance-related functions is fine.

Regards,

Christian


More information about the gnucash-devel mailing list