• iv's avatar
    ERP5Workflow: perf: cleanup of doActionFor · c589e844
    iv authored
    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
    c589e844
Workflow.py 49.6 KB