|
1649.
|
|
|
Example 2: A sale order that generates an invoice and a shipping order
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:52
|
|
1650.
|
|
|
Example 3: Account invoice basic workflow
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:58
|
|
1651.
|
|
|
Defining Workflow
|
|
|
|
Определение рабочего процесса
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
2c3a3dd687be49cdbbe5027f6c7dec16
|
|
Located in
../../source/developer/07_workflows.rst:63
|
|
1652.
|
|
|
Workflows are defined in the file ``server/addons/base/ir/workflow/workflow.py``. The first three classes defined in this file are ``workflow``, ``wkf_activity`` and ``wkf_transition``. They correspond to the three types of resources necessary to describe a workflow:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:65
|
|
1653.
|
|
|
`workflow <http://openobject.com/wiki/index.php/WkfDefXML>`_ : the workflow,
|
|
|
|
`workflow <http://openobject.com/wiki/index.php/WkfDefXML>`_ : рабочий процесс,
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
0201422879274b26a83ca8ae10bcbbc9
|
|
Located in
../../source/developer/07_workflows.rst:67
|
|
1654.
|
|
|
`wkf_activity <http://openobject.com/wiki/index.php/WorkflowActivity>`_ : the activities (nodes),
|
|
|
|
`wkf_activity <http://openobject.com/wiki/index.php/WorkflowActivity>`_ : действия (узлы),
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
803585ea8eea4e208706e58e0d34eb96
|
|
Located in
../../source/developer/07_workflows.rst:68
|
|
1655.
|
|
|
`wkf_transition <http://openobject.com/wiki/index.php/WorkflowTransition>`_ : the transitions between the activities.
|
|
|
|
`wkf_transition <http://openobject.com/wiki/index.php/WorkflowTransition>`_ : переходы между действиями.
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
60bb5a407b994fa498a1c67c86f2e1f7
|
|
Located in
../../source/developer/07_workflows.rst:69
|
|
1656.
|
|
|
General structure of a workflow XML file
|
|
|
|
Общая структура XML файла рабочего процесса
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
e522f4848b784102b216c7b58dc61eb9
|
|
Located in
../../source/developer/07_workflows.rst:73
|
|
1657.
|
|
|
The general structure of a workflow XML file is as follows:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:75
|
|
1658.
|
|
|
**id** (here "workflow_id") is a workflow identifier. Each workflow must have an unique identifier.
|
|
|
|
**id** (здесь "workflow_id") это идентификатор рабочего процесса. Каждый рабочий процесс должен иметь уникальный идентификатор.
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
c50ede63275d4ba599de242e9ef6ceec
|
|
Located in
../../source/developer/07_workflows.rst:95
|