[Erp5-report] r27769 - /erp5/trunk/products/ERP5/Document/TradeCondition.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 23 10:48:43 CEST 2009


Author: fabien
Date: Tue Jun 23 10:48:41 2009
New Revision: 27769

URL: http://svn.erp5.org?rev=27769&view=rev
Log:
add XXX

Modified:
    erp5/trunk/products/ERP5/Document/TradeCondition.py

Modified: erp5/trunk/products/ERP5/Document/TradeCondition.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TradeCondition.py?rev=27769&r1=27768&r2=27769&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] Tue Jun 23 10:48:41 2009
@@ -225,7 +225,7 @@
           self.getTradeModelLineComposedList(context)
 
       need_to_run = 1
-      while need_to_run:
+      while need_to_run: # XXX Dangerous code. This can leed to infinite loop
         need_to_run = 0
         for model_line in trade_model_line_composed_list:
           model_line_result = model_line.getAggregatedAmountList(context,




More information about the Erp5-report mailing list