1. 09 Dec, 2016 4 commits
  2. 07 Dec, 2016 4 commits
  3. 06 Dec, 2016 3 commits
  4. 05 Dec, 2016 1 commit
  5. 09 Nov, 2016 2 commits
  6. 31 Oct, 2016 1 commit
    • iv's avatar
      ERP5Workflow: compute correctly the transition id · b1d54882
      iv authored
      In case of workflow being a DCWorkflow (from wf_id or workflow_list),
      we should get the transition id according to the old DC workflow
      transition ids (ex: plan_action and not transition_plan_action).
      b1d54882
  7. 27 Oct, 2016 4 commits
    • 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
    • iv's avatar
      ERP5Workflow: perf: support parameter 'state' in isActionSupported · 484fd839
      iv authored
      This allows to avoid the call of _getWorkflowStateOf if it was already
      done before, and so reduce the number of calls of '_getOb' method.
      484fd839
    • iv's avatar
      ERP5Workflow: use get...List methods · 6f7223dd
      iv authored
      6f7223dd
    • iv's avatar
      ERP5Workflow: perf: avoid expensive operations in getattr · b97ae55e
      iv authored
      __getattr__ was overriden in order to be able to call the script
      using its reference (not prefixed by script_) from another workflow
      script (see testTradeReports for example)
      
      the problem is that it was doing a lot of useless getattr (each time,
      it was checking for script_foo, even if foo is a transition, state, ...)
      
      we now just change the context given to the script by adding foo
      for script_foo to the context dict
      b97ae55e
  8. 24 Oct, 2016 1 commit
  9. 21 Oct, 2016 1 commit
  10. 19 Oct, 2016 1 commit
  11. 18 Oct, 2016 4 commits
  12. 17 Oct, 2016 2 commits
  13. 14 Oct, 2016 3 commits
  14. 12 Oct, 2016 1 commit
  15. 11 Oct, 2016 5 commits
  16. 10 Oct, 2016 3 commits