* Cédric Krier <[email protected]> [31.03 14:16]: > On 29/03/13 17:42 +0100, Marco Huymajer wrote: > > As it is easier to discuss the subject with some actual implementation in > > mind, I have created a blueprint with the models and some examples: > > > > http://code.google.com/p/tryton/wiki/FinancialAnalysis > > I have the feeling it goes to the wrong direction. > Here are the things that gives me this feeling: > > - having Python expression in the database, this should always avoid > as much as possible. > - thinking that users will fill such Models, it is far too much > complicate. > > I think most of the concept are already in Tryton or should just be > added to account. > I think it is better to just define the few function fields on a > Singleton that make the computation. > So for me, the blueprint should just collect those fields definition and > how they should be computed in Tryton.
It seems that the proposed solution is to complex and agreeing upon a basic set of financial ratios and indicators and hard-coding them in Python seems the preferable way to go. I have changed the blueprint accordingly. The old version can still be found here: http://code.google.com/p/tryton/source/browse/FinancialAnalysis.wiki?spec=svn.wiki.6789f7a2da58f7e6c88ccebfa691f2025d5042f8&repo=wiki&r=02bc7b55adcdfe6af201e083e5eb67a69e82a1a1 Marco
