ERP5Workflow: perf: cleanup of doActionFor
Before this fix, checking that the action was possible from the current state was not done correctly (isActionSupported was not used to set the transition). Also avoid to check if transition is in getTransitionValueList: it is useless (transition *is* on of the workflow or is None!) and calls the expensive 'objectValues' method
Showing
Please register or sign in to comment