Commit 0e8e245a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

here we want all Business Paths, but getPathValueList(trade_phase=None) now...

here we want all Business Paths, but getPathValueList(trade_phase=None) now returns an empty list instead of add Business Paths since r34485.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34520 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bfbaf8d8
......@@ -128,7 +128,8 @@ class BusinessProcess(Path, XMLObject):
Returns the list of Business Path which are ready to
be built
"""
return filter(lambda x:x.isBuildable(explanation), self.getPathValueList())
return filter(lambda x:x.isBuildable(explanation),
self.objectValues(portal_type='Business Path'))
def getCompletedStateValueList(self, explanation):
"""
......
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