[IMP] doc/howtos/backend: small fixes
authorRaphael Collet <rco@openerp.com>
Fri, 29 Aug 2014 06:42:35 +0000 (08:42 +0200)
committerRaphael Collet <rco@openerp.com>
Fri, 29 Aug 2014 06:42:35 +0000 (08:42 +0200)
doc/Makefile
doc/howtos/backend.rst
doc/howtos/backend/exercise-report

index c1eff18..c456284 100644 (file)
@@ -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
index 261268c..25a6a85 100644 (file)
@@ -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
index 9419b88..43055c7 100644 (file)
@@ -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>