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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Dec 12 11:37:01 CET 2008


Author: vincent
Date: Fri Dec 12 11:36:58 2008
New Revision: 24873

URL: http://svn.erp5.org?rev=24873&view=rev
Log:
Woops, if we return that variable then we must define it too, it won't be grabbed from parent scope.

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=24873&r1=24872&r2=24873&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/SimulationTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/SimulationTool.py [utf8] Fri Dec 12 11:36:58 2008
@@ -932,6 +932,7 @@
       # Generate first query parameter dict
       if optimisation_success:
         def getFirstQueryParameterDict(query_generator_kw):
+          optimisation_success = True
           AVAILABLE_CRITERIONS_IN_INVENTORY_TABLE = ['node_uid',
                                                      'section_uid',
                                                      'payment_uid']




More information about the Erp5-report mailing list