diff --git a/product/ERP5/Document/BusinessProcess.py b/product/ERP5/Document/BusinessProcess.py index 9eaacac28bc838fe5c68481ea2dcf179b33261e4..495496b484e8d1ce0579cc24a68ca0e5480845f8 100644 --- a/product/ERP5/Document/BusinessProcess.py +++ b/product/ERP5/Document/BusinessProcess.py @@ -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 diff --git a/product/ERP5/interfaces/business_process.py b/product/ERP5/interfaces/business_process.py index de0c073f5cc24ca9b2056b42ca26ecb7d9655f44..99504ae4268e16474561caa5eb516c7f8dc57b46 100644 --- a/product/ERP5/interfaces/business_process.py +++ b/product/ERP5/interfaces/business_process.py @@ -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