A Dissabte 01 Juny 2013 09:49:25, Cédric Krier va escriure: > On 01/06/13 00:48 +0200, Albert Cervera i Areny wrote: > > The proposal is not about removing the hard link it is changing the way > > the standard "required" is implemented to allow more flexibility in > > other modules. > > I don't see any problem, you can drop the required if you want.
Ok. > > That said, I do not agree that nobody will see the result is wrong. The > > proposal is that an extension (not in Tryton core if not desired) it will > > add something similar to the account chart wizard which allows the user > > to select only confirmed moves. > > Don't understand. When you open the account chart, the wizard allows the user to view all results from using all moves or only posted ones. That's more ore less what we will evenutally do for the analytic chart. Allow the user to choose if the result has to consider all analytic moves or only the ones that have account moves. > > In this case the system would allow the user > > to choose if only analytic moves with accounting are listed or all of > > them. It is the same as having a state in analytic moves. > > So you want to add a state on the analytic line? That could be an idea. In fact, the module we did was named acount_analytic_line_state :) but it was implemented using a searchable function field with two possible values [1]: "reserved" and "spent" (better names could be found). The former was the value when no account move was linked to the analytic line and the latter when a link existed. We also thought of the possibility of making the state a workflow. So that the change from reserved to spent was "manual" but it added extra steps for no value, at least in our use case. [1] In fact there were three values, but the third was probably much more customer-specific. -- Albert Cervera i Areny Consultor funcional Tel. 93 553 18 03 @albertnan www.NaN-tic.com Avís legal >>
