Commit 53bb6ff2 authored by Łukasz Nowak's avatar Łukasz Nowak

- explain problems of defining isBuildable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28126 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ae79b2b1
......@@ -194,6 +194,16 @@ class BusinessPath(Path):
predecessor = self.getPredecessorValue()
if predecessor is None:
return result
# XXX FIXME TODO
# For now isPartiallyCompleted is used, as it was
# assumed to not implement isPartiallyBuildable, so in reality
# isBuildable is implemented like isPartiallyBuildable
#
# But in some cases it might be needed to implement
# isPartiallyBuildable, than isCompleted have to be used here
#
# Such cases are Business Processes using sequence not related
# to simulation tree with much of compensations
if predecessor.isPartiallyCompleted(explanation):
return result
return False
......
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