Commit 4af43b68 authored by wenjie.zheng's avatar wenjie.zheng

Base.py: correct ERP5Worklow list getter caller.

parent 67ac90ca
......@@ -2889,7 +2889,7 @@ class Base( CopyContainer,
def isERP5WorkflowDeleted(self):
### zwj: deal with the deleted object
for wf_id in self.getTypeERP5WorkflowList():
for wf_id in self.getTypeInfo().getTypeERP5WorkflowList():
wf = self.getPortalObject().getDefaultModule('Workflow')._getOb(wf_id)
state = self._getDefaultAcquiredValue(wf.getStateBaseCategory())
if state is not None and state.getId() == 'deleted':
......
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