summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile2
-rw-r--r--doc/howtos/backend.rst14
-rw-r--r--doc/howtos/backend/exercise-report8
3 files changed, 12 insertions, 12 deletions
diff --git a/doc/Makefile b/doc/Makefile
index c1eff186583..c456284fcfb 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -2,7 +2,7 @@
#
# You can set these variables from the command line.
-SPHINXOPTS = -q
+SPHINXOPTS = -q -t solutions
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
diff --git a/doc/howtos/backend.rst b/doc/howtos/backend.rst
index 261268cde8b..25a6a85af0e 100644
--- a/doc/howtos/backend.rst
+++ b/doc/howtos/backend.rst
@@ -1262,6 +1262,13 @@ graphical tools. Workflows, activities (nodes or actions) and transitions
(conditions) are declared as XML records, as usual. The tokens that navigate
in workflows are called workitems.
+.. warning::
+
+ A workflow associated with a model is only created when the
+ model's records are created. Thus there is no workflow instance
+ associated with session instances created before the workflow's
+ definition
+
.. exercise:: Workflow
Replace the ad-hoc *Session* workflow by a real workflow. Transform the
@@ -1272,13 +1279,6 @@ in workflows are called workitems.
.. patch::
- .. warning::
-
- A workflow associated with a model is only created when the
- model's records are created. Thus there is no workflow instance
- associated with session instances created before the workflow's
- definition
-
.. tip::
In order to check if instances of the workflow are correctly
diff --git a/doc/howtos/backend/exercise-report b/doc/howtos/backend/exercise-report
index 9419b880558..43055c7a8db 100644
--- a/doc/howtos/backend/exercise-report
+++ b/doc/howtos/backend/exercise-report
@@ -3,8 +3,8 @@
Index: addons/openacademy/__openerp__.py
===================================================================
---- addons.orig/openacademy/__openerp__.py 2014-08-26 17:26:20.735783064 +0200
-+++ addons/openacademy/__openerp__.py 2014-08-26 17:26:20.727783064 +0200
+--- addons.orig/openacademy/__openerp__.py 2014-08-29 08:39:43.975536806 +0200
++++ addons/openacademy/__openerp__.py 2014-08-29 08:39:52.000000000 +0200
@@ -31,6 +31,7 @@
'views/openacademy.xml',
'views/partner.xml',
@@ -16,7 +16,7 @@ Index: addons/openacademy/__openerp__.py
Index: addons/openacademy/reports.xml
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ addons/openacademy/reports.xml 2014-08-26 17:26:20.727783064 +0200
++++ addons/openacademy/reports.xml 2014-08-29 08:41:12.663540061 +0200
@@ -0,0 +1,30 @@
+<openerp>
+<data>
@@ -38,7 +38,7 @@ Index: addons/openacademy/reports.xml
+ <h3>Attendees:</h3>
+ <ul>
+ <t t-foreach="doc.attendee_ids" t-as="attendee">
-+ <li t-field="attendee.name"/>
++ <li><span t-field="attendee.name"/></li>
+ </t>
+ </ul>
+ </div>