[Erp5-report] r32990 kazuhiko - /erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Feb 23 07:28:18 CET 2010
Author: kazuhiko
Date: Tue Feb 23 07:28:18 2010
New Revision: 32990
URL: http://svn.erp5.org?rev=32990&view=rev
Log:
do not include None as the item of payment condition list.
Modified:
erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py
Modified: erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py?rev=32990&r1=32989&r2=32990&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PaymentSimulationRule.py [utf8] Tue Feb 23 07:28:18 2010
@@ -63,7 +63,7 @@
movement_and_tuple_list = self._getInputMovementAndPathTupleList(
applied_rule)
input_movement = movement_and_tuple_list[0][0]
- payment_condition_list = [x[1] for x in movement_and_tuple_list]
+ payment_condition_list = [x[1] for x in movement_and_tuple_list if x[1] is not None]
kw = self._getExpandablePropertyDict(applied_rule, input_movement, None)
prevision_list = []
More information about the Erp5-report
mailing list