[Erp5-report] r27461 - /erp5/trunk/products/ERP5/Document/TradeCondition.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 9 11:41:36 CEST 2009
Author: fabien
Date: Tue Jun 9 11:41:29 2009
New Revision: 27461
URL: http://svn.erp5.org?rev=27461&view=rev
Log:
use accessor
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=27461&r1=27460&r2=27461&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] Tue Jun 9 11:41:29 2009
@@ -203,6 +203,6 @@
# remove movement that should not be created
final_list = []
for movement in result:
- if getattr(movement, 'create_line', True):
+ if movement.isCreateLine():
final_list.append(movement)
return final_list
More information about the Erp5-report
mailing list