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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 9 12:00:00 CEST 2009


Author: fabien
Date: Tue Jun  9 11:59:59 2009
New Revision: 27462

URL: http://svn.erp5.org?rev=27462&view=rev
Log:
sorry, create_line property don't exist on Simulation Movement. This property is set on the model lines (causality)

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=27462&r1=27461&r2=27462&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/TradeCondition.py [utf8] Tue Jun  9 11:59:59 2009
@@ -203,6 +203,6 @@
       # remove movement that should not be created
       final_list = []
       for movement in result:
-        if movement.isCreateLine():
+        if movement.getCausalityValue().getCreateLine():
           final_list.append(movement)
       return final_list




More information about the Erp5-report mailing list