#
# You can set these variables from the command line.
-SPHINXOPTS = -q
+SPHINXOPTS = -q -t solutions
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
(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
.. 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
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',
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>
+ <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>