[Erp5-report] r27892 - /erp5/trunk/products/ERP5/interfaces/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jul 3 10:44:10 CEST 2009


Author: luke
Date: Fri Jul  3 10:44:10 2009
New Revision: 27892

URL: http://svn.erp5.org?rev=27892&view=rev
Log:
 - add isCompleted for simulation movement
 - explain isCompleted meaning

Modified:
    erp5/trunk/products/ERP5/interfaces/business_completable.py
    erp5/trunk/products/ERP5/interfaces/simulation_movement.py

Modified: erp5/trunk/products/ERP5/interfaces/business_completable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/business_completable.py?rev=27892&r1=27891&r2=27892&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/business_completable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/business_completable.py [utf8] Fri Jul  3 10:44:10 2009
@@ -37,6 +37,8 @@
     """True if all related simulation movements for this explanation
     document are delivered and in simulation state which is considered
     as finished.
+
+    Completed means that it is possible to move to next step of Business Process
     """
 
   def isPartiallyCompleted(explanation):

Modified: erp5/trunk/products/ERP5/interfaces/simulation_movement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/simulation_movement.py?rev=27892&r1=27891&r2=27892&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/simulation_movement.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/simulation_movement.py [utf8] Fri Jul  3 10:44:10 2009
@@ -95,7 +95,7 @@
     """
 
   def getDivergenceList():
-    """Returns a list of divergences 
+    """Returns a list of divergences
     XXX - unclear, please explan what the returned documents
     or object are (type, class)
     """
@@ -109,6 +109,15 @@
     Frozen simulation movement cannot be modified by expanding.
     """
 
+  def isCompleted():
+    """Tells whether the simulation movement is completed.
+    By default, looks up the related Business Process Path
+    and tells if the simulation state is part of completed
+    states.
+
+    Completed simulation movement allow to move to next step of Business Process
+    """
+
   def isSimulated():
     """XXX - unclear
     """




More information about the Erp5-report mailing list