Am Donnerstag, den 11.11.2010, 13:35 -0600 schrieb Phillip Heller: > On Nov 8, 2010, at 12:46 PM, Cédric Krier wrote: > > > On 08/11/10 19:07 +0100, Udo Spallek wrote: > <snip> > >> * The name of the module could be currency_round_half_up and just > >> overwrite the default value of the round method signature. Is this > >> the way to go? > > Looks good. > What about multi-national multi-company installations? Would it not > be better to add as an attribute set within the company model, then > retrieved from context whenever rounding is done? Sounds promising. But I am unsure if it is not better done in a separate module. When you want to consolidate data of depending companies like a headquarter with its daughter company you will have rounding differences on using different rounding methods. I guess these differences needed to take care in accounting. Because the small rounding differences could create unbalanced balances in the headquarter company.
It is the same situation with the party module. One of our multi-company interests (multi national education sector) request separate parties for different companies. But some parties should be shown in all companies. Nested companies should see their own parties and the parties of their children companies. Some headquarter parties should be shown in all companies. Multi company setup can be very complicated and special. Most I'm missing is a general idea of a flexible multi-company setup. IIRC, I have started some general thoughts about this in the past, if you or someone else is interested to discuss, I will share them. But another idea could be to put the needed modification on rounding inside the account_de_skr03 chart of accounts module. This has the big benefit, to easily remove the code on migration, when we have a multi-company solution. This is much more easy then removing an already installed module in Tryton. Cheers -- Udo Spallek ------------------------------------ virtual things Preisler & Spallek GbR Munich - Aix-la-Chapelle Windeckstr. 77 81375 Munich - Germany Tel: +49 (89) 710 481 55 Fax: +49 (89) 710 481 56 [email protected] http://www.virtual-things.biz -- [email protected] mailing list
