[Erp5-report] r37155 nicolas.dumazet - /erp5/trunk/products/ERP5/Document/BusinessPath.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jul 16 03:14:37 CEST 2010


Author: nicolas.dumazet
Date: Fri Jul 16 03:14:34 2010
New Revision: 37155

URL: http://svn.erp5.org?rev=37155&view=rev
Log:
A movement a built if it has no *Delivery* value. Not Causality.

Modified:
    erp5/trunk/products/ERP5/Document/BusinessPath.py

Modified: erp5/trunk/products/ERP5/Document/BusinessPath.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessPath.py?rev=37155&r1=37154&r2=37155&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessPath.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessPath.py [utf8] Fri Jul 16 03:14:34 2010
@@ -668,7 +668,7 @@ class BusinessPath(Path, Predicate):
     movement_looking_for_dict = {}
 
     def isBuiltAndCompleted(simulation, path):
-      return simulation.getCausalityValue() is not None and \
+      return simulation.getDeliveryValue() is not None and \
           simulation.getSimulationState() in predecessor_to_state_dict[path]
 
     ### Step 1:




More information about the Erp5-report mailing list