[Erp5-dev] getMovementIndex
Jean-Paul Smets
jp at nexedi.com
Wed May 25 13:37:58 CEST 2005
Le mardi 24 Mai 2005 09:47, Sebastien Robin a écrit :
> Hi all,
>
> There is a very strange method called getMovementIndex in
> ERP5/Document/SimulationMovement.
>
> I think it is very strange, and there is a very high chance that it is
> not used at all, because the content of this method is out of date.
>
> Does anyone know if it is unsafe to remove it ?
>
> Seb.
It is used. It is unsafe to remove it unless you have a better solution with
the same or better speed.
getMovementIndex provides speed optimisation for the indexation of trees of
applied rules and simulation movements. Speed was multiplied by 5 to 10 by
reindexing the whole tree of simulation rather than movements one by one.
indexing of simulation movement is then achieved through specific python
scripts and SQL methods in the SQL catalog. Those scripts first call
getMovementIndex.
JPS.
--
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Rentalinux: Desktop Linux Server
http://www.rentalinux.com
More information about the Erp5-dev
mailing list