Commit ccd614d8 authored by Łukasz Nowak's avatar Łukasz Nowak

- naming change


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26578 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 89b7989b
......@@ -207,8 +207,8 @@ class AppliedRule(XMLObject):
return self.getParentValue().getRootAppliedRule()
security.declareProtected(Permissions.AccessContentsInformation,
'getBusinessProcessModelValue')
def getBusinessProcessModelValue(self):
'getBusinessProcessValue')
def getBusinessProcessValue(self):
"""Return the business process model that has been used in this
simulation, or None if no business process has been used.
"""
......@@ -222,7 +222,7 @@ class AppliedRule(XMLObject):
business_process = findBusinessProcessModel(specialise)
if business_process is not None:
return business_process
if causality is not None and getattr(causality, 'getSpecialiseValueList',
None) is not None:
return findBusinessProcessModel(causality)
......
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