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

officejs_support_request_ui: adjust script for new workflow API

state.getId() now have a prefix, we want to use state.getReference() here.
parent 57fcbcec
Pipeline #15111 failed with stage
in 0 seconds
......@@ -17,6 +17,6 @@ for state in workflow.getStateValueList():
state_title = unicode(translateString(
'%s [state in %s]' % (state_title, workflow.getId()),
default=unicode(translateString(state_title))))
info[state.getId()] = state_title
info[state.getReference()] = state_title
return info
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