Commit c32669b3 authored by Jérome Perrin's avatar Jérome Perrin

Workflow: don't use deprecated getParent()

parent 5b484a1e
......@@ -696,7 +696,7 @@ class Workflow(XMLObject):
return {}
def _getStatusOf(self, ob):
tool = self.getParent()
tool = self.getParentValue()
status = tool.getStatusOf(self.getId(), ob)
if status is None:
return {}
......
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