add_state/add_transition are now deprecated, only add_workflow remaining
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 03 Feb 2010 21:02:39 +0100
changeset 4447 a55fb2745644
parent 4446 a413fac5ff5e
child 4448 db672bef1078
add_state/add_transition are now deprecated, only add_workflow remaining
doc/book/en/development/migration/index.rst
--- a/doc/book/en/development/migration/index.rst	Wed Feb 03 21:02:15 2010 +0100
+++ b/doc/book/en/development/migration/index.rst	Wed Feb 03 21:02:39 2010 +0100
@@ -162,11 +162,8 @@
 The following functions for workflow creation are available in `repository`
 scripts:
 
-* `add_state(name, stateof, initial=False, commit=False, **kwargs)`, adds a new state
-  in the workflow.
-
-* `add_transition(name, transitionof, fromstates, tostate,._cwuiredgroups=(), commit=False, **kwargs)`,
-  adds a new transition in the workflow.
+* `add_workflow(label, workflowof, initial=False, commit=False, **kwargs)`, adds a new workflow
+  for a given type(s)
 
 You can find more details about workflows in the chapter :ref:`Workflow` .