[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. # You can set these variables from the command line.
SPHINXOPTS = -q SPHINXOPTS = -q -t solutions
SPHINXBUILD = sphinx-build SPHINXBUILD = sphinx-build
PAPER = PAPER =
BUILDDIR = _build 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 (conditions) are declared as XML records, as usual. The tokens that navigate
in workflows are called workitems. 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 .. exercise:: Workflow
Replace the ad-hoc *Session* workflow by a real workflow. Transform the Replace the ad-hoc *Session* workflow by a real workflow. Transform the
@ -1272,13 +1279,6 @@ in workflows are called workitems.
.. patch:: .. 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:: .. tip::
In order to check if instances of the workflow are correctly In order to check if instances of the workflow are correctly

View File

@ -3,8 +3,8 @@
Index: addons/openacademy/__openerp__.py Index: addons/openacademy/__openerp__.py
=================================================================== ===================================================================
--- addons.orig/openacademy/__openerp__.py 2014-08-26 17:26:20.735783064 +0200 --- addons.orig/openacademy/__openerp__.py 2014-08-29 08:39:43.975536806 +0200
+++ addons/openacademy/__openerp__.py 2014-08-26 17:26:20.727783064 +0200 +++ addons/openacademy/__openerp__.py 2014-08-29 08:39:52.000000000 +0200
@@ -31,6 +31,7 @@ @@ -31,6 +31,7 @@
'views/openacademy.xml', 'views/openacademy.xml',
'views/partner.xml', 'views/partner.xml',
@ -16,7 +16,7 @@ Index: addons/openacademy/__openerp__.py
Index: addons/openacademy/reports.xml Index: addons/openacademy/reports.xml
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /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 @@ @@ -0,0 +1,30 @@
+<openerp> +<openerp>
+<data> +<data>
@ -38,7 +38,7 @@ Index: addons/openacademy/reports.xml
+ <h3>Attendees:</h3> + <h3>Attendees:</h3>
+ <ul> + <ul>
+ <t t-foreach="doc.attendee_ids" t-as="attendee"> + <t t-foreach="doc.attendee_ids" t-as="attendee">
+ <li t-field="attendee.name"/> + <li><span t-field="attendee.name"/></li>
+ </t> + </t>
+ </ul> + </ul>
+ </div> + </div>