[Erp5-report] r31279 kazuhiko - /erp5/trunk/products/ERP5/Document/Rule.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 14 14:09:22 CET 2009
Author: kazuhiko
Date: Mon Dec 14 14:09:21 2009
New Revision: 31279
URL: http://svn.erp5.org?rev=31279&view=rev
Log:
a bit optimisation.
Modified:
erp5/trunk/products/ERP5/Document/Rule.py
Modified: erp5/trunk/products/ERP5/Document/Rule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Rule.py?rev=31279&r1=31278&r2=31279&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Rule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Rule.py [utf8] Mon Dec 14 14:09:21 2009
@@ -322,9 +322,10 @@
input_movement_and_path_list = []
business_path_list = []
+ trade_phase_list = self.getTradePhaseList()
for input_movement in input_movement_list:
for business_path in business_process.getPathValueList(
- self.getTradePhaseList(),
+ trade_phase_list,
input_movement):
input_movement_and_path_list.append((input_movement, business_path))
business_path not in business_path_list and business_path_list \
More information about the Erp5-report
mailing list