workflows: expand items as list (#36515)
This commit is contained in:
parent
ca35deba02
commit
c3057f76bd
|
@ -138,7 +138,7 @@ class DispatchWorkflowStatusItem(WorkflowStatusItem):
|
|||
self.parent.parent.roles = {}
|
||||
form.add(SingleSelectWidget, '%srole_key' % prefix,
|
||||
title=_('Function to Set'), value=self.role_key,
|
||||
options=[(None, '----')] + self.parent.parent.roles.items())
|
||||
options=[(None, '----')] + list(self.parent.parent.roles.items()))
|
||||
dispatch_types = collections.OrderedDict(
|
||||
[('manual', _('Simple')), ('automatic', _('Multiple'))])
|
||||
if 'dispatch_type' in parameters:
|
||||
|
|
Loading…
Reference in New Issue