[Erp5-report] r44435 seb - in /erp5/trunk/products/ERP5: Document/ interfaces/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 18 17:20:58 CET 2011


Author: seb
Date: Fri Mar 18 17:20:57 2011
New Revision: 44435

URL: http://svn.erp5.org?rev=44435&view=rev
Log:
the description of isTradeStateCompleted is incorrect,
change it with review of JP

Modified:
    erp5/trunk/products/ERP5/Document/BusinessProcess.py
    erp5/trunk/products/ERP5/interfaces/business_process.py

Modified: erp5/trunk/products/ERP5/Document/BusinessProcess.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessProcess.py?rev=44435&r1=44434&r2=44435&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessProcess.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessProcess.py [utf8] Fri Mar 18 17:20:57 2011
@@ -504,8 +504,7 @@ class BusinessProcess(Path, XMLObject):
   security.declareProtected(Permissions.AccessContentsInformation, 'isTradeStateCompleted')
   def isTradeStateCompleted(self, explanation, trade_state):
     """Returns True if all predecessor trade states are
-    completed and if no successor trade state is completed
-    in the context of given explanation.
+    completed in the context of given explanation.
 
     explanation -- an Order, Order Line, Delivery or Delivery Line or
                    Applied Rule which implicitely defines a simulation subtree

Modified: erp5/trunk/products/ERP5/interfaces/business_process.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/business_process.py?rev=44435&r1=44434&r2=44435&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/business_process.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/business_process.py [utf8] Fri Mar 18 17:20:57 2011
@@ -279,7 +279,7 @@ class ITradeStateProcess(Interface):
 
   def isTradeStateCompleted(explanation, trade_state):
     """Returns True if all predecessor trade states are
-    completed and if no successor trade state is completed
+    completed and if the provided trade state is also completed
     in the context of given explanation.
 
     explanation -- an Order, Order Line, Delivery or Delivery Line or



More information about the Erp5-report mailing list