doc/book/devrepo/datamodel/define-workflows.rst
changeset 12732 7e6aafa089d2
parent 12404 83d7752af56a
child 12733 d242a1692907
equal deleted inserted replaced
12731:8e5f2c449e60 12732:7e6aafa089d2
   109   * the target state of the transition,
   109   * the target state of the transition,
   110   * and the permissions
   110   * and the permissions
   111     (e.g. a list of user groups who can apply the transition; the user
   111     (e.g. a list of user groups who can apply the transition; the user
   112     has to belong to at least one of the listed group to perform the action).
   112     has to belong to at least one of the listed group to perform the action).
   113 
   113 
   114 .. sourcecode:: python
       
   115 
       
   116   checkpoint()
       
   117 
   114 
   118 .. note::
   115 .. note::
   119   Do not forget to add the `_()` in front of all states and
   116   Do not forget to add the `_()` in front of all states and
   120   transitions names while creating a workflow so that they will be
   117   transitions names while creating a workflow so that they will be
   121   identified by the i18n catalog scripts.
   118   identified by the i18n catalog scripts.