[IMP] doc/howtos/backend: small fixes

This commit is contained in:
Raphael Collet 2014-08-29 08:42:35 +02:00
parent a062d3b0ee
commit 913404bf64
3 changed files with 12 additions and 12 deletions

View 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

View 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

View 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>