[Erp5-report] r14092 - /erp5/trunk/products/ERP5/Tool/SimulationTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 17 00:18:44 CEST 2007


Author: romain
Date: Tue Apr 17 00:18:43 2007
New Revision: 14092

URL: http://svn.erp5.org?rev=14092&view=rev
Log:
Typo error: do not call getInventoryList directly, but alias method with the correct simulation period

Modified:
    erp5/trunk/products/ERP5/Tool/SimulationTool.py

Modified: erp5/trunk/products/ERP5/Tool/SimulationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/SimulationTool.py?rev=14092&r1=14091&r2=14092&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/SimulationTool.py (original)
+++ erp5/trunk/products/ERP5/Tool/SimulationTool.py Tue Apr 17 00:18:43 2007
@@ -874,7 +874,7 @@
       """
       kw['group_by_variation'] = 0
       method = getattr(self,'get%sInventoryList' % simulation_period)
-      return self.getInventoryList(statistic=1, inventory_list=0, 
+      return method(statistic=1, inventory_list=0, 
                                    ignore_group_by=1, **kw)
 
     security.declareProtected(Permissions.AccessContentsInformation,




More information about the Erp5-report mailing list