Commit 71de63af authored by Jean-Paul Smets's avatar Jean-Paul Smets

Fixed typos in places not carefully reviewed

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37090 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2b51b73c
......@@ -523,7 +523,7 @@ class BusinessProcess(Path, XMLObject):
trade_state -- a Trade State category
"""
for business_link in self.getBusinessLinkValueList(successor=trade_state):
if not closure_process.isBusinessLinkCompleted(explanation, business_link):
if not self.isBusinessLinkCompleted(explanation, business_link):
return False
return True
......@@ -606,7 +606,7 @@ class BusinessProcess(Path, XMLObject):
return True
security.declareProtected(Permissions.AccessContentsInformation, 'getRemainingTradePhaseList')
def getRemainingTradePhaseList(self, business_link, trade_phase_list=None):
def getRemainingTradePhaseList(self, explanation, business_link, trade_phase_list=None):
"""Returns the list of remaining trade phases which to be achieved
as part of a business process. This list is calculated by analysing
the graph of business link and trade states, starting from a given
......@@ -614,6 +614,9 @@ class BusinessProcess(Path, XMLObject):
method is useful mostly for production and MRP to manage a distributed
supply and production chain.
explanation -- an Order, Order Line, Delivery or Delivery Line or
Applied Rule which implicitely defines a simulation subtree
business_link -- a Business Link document
trade_phase_list -- if provided, the result is filtered by it after
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment