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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 8 15:50:53 CEST 2009


Author: fabien
Date: Wed Jul  8 15:50:50 2009
New Revision: 28026

URL: http://svn.erp5.org?rev=28026&view=rev
Log:
comments were bad, fix them. (thanks to jerome for the review)

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=28026&r1=28025&r2=28026&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] Wed Jul  8 15:50:50 2009
@@ -220,14 +220,14 @@
       trade_model_line_composed_list = \
           self.getTradeModelLineComposedList(context)
 
-      # initialise run then rerun only once, as trade_model_line_composed_list
-      # is sorted in good way to have simple algorithm
+      # trade_model_line_composed_list is sorted in good way to have
+      # simple algorithm
       for model_line in trade_model_line_composed_list:
         result.extend(model_line.getAggregatedAmountList(context,
           movement_list=movement_list,
           current_aggregated_amount_list=result,
           **kw))
-      movement_list = result # apply model again on generated movements
+      movement_list = result
 
       # remove movement that should not be created
       final_movement_list = []




More information about the Erp5-report mailing list