- 16 Nov, 2016 1 commit
-
-
iv authored
-
- 31 Oct, 2016 1 commit
-
-
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).
-
- 27 Oct, 2016 4 commits
-
-
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
-
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.
-
iv authored
-
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
-
- 24 Oct, 2016 1 commit
-
-
iv authored
-
- 21 Oct, 2016 1 commit
-
-
iv authored
It should not be useful with the new WorkflowTool.
-
- 19 Oct, 2016 1 commit
-
-
iv authored
-
- 18 Oct, 2016 4 commits
-
-
iv authored
by redefining getSourceValue (workflow) and getDestinationValue (transition)
-
iv authored
-
iv authored
creating a guard when all the informations are already in properties of the object is useless, these guards were forgotten
-
iv authored
in testERP5Workflow, a test was failing due to changes in storage of expressions (we now store the expression object so we don't have to recompile the expression all the time)
-
- 17 Oct, 2016 2 commits
- 14 Oct, 2016 3 commits
- 12 Oct, 2016 1 commit
-
-
iv authored
-
- 11 Oct, 2016 5 commits
- 10 Oct, 2016 4 commits
- 07 Oct, 2016 8 commits
- 05 Oct, 2016 4 commits