diff options
| author | Arnaud Pineux <api@openerp.com> | 2012-11-13 14:49:11 +0100 |
|---|---|---|
| committer | Arnaud Pineux <api@openerp.com> | 2012-11-13 14:49:11 +0100 |
| commit | 7b76c5216e64cedd201cd0cab2a3fa80fdc66901 (patch) | |
| tree | 1efb5083771c94a55d8d143033b43a8f7d1ebbdf /addons/process | |
| parent | e6541e77913f3d408fe25897810323265d9e9b20 (diff) | |
| parent | f8d9112ef7d4f18bb7a3a19fafc6194eb09caa0a (diff) | |
[MERGE] fix the phone call to opportunity to quotation
lp bug: https://launchpad.net/bugs/1017353 fixed
bzr revid: api@openerp.com-20121113134911-gd4o1zj6ixtu83hm
Diffstat (limited to 'addons/process')
57 files changed, 516 insertions, 93 deletions
diff --git a/addons/process/__openerp__.py b/addons/process/__openerp__.py index ef554fe7226..fcae18c5490 100644 --- a/addons/process/__openerp__.py +++ b/addons/process/__openerp__.py @@ -43,7 +43,16 @@ This module shows the basic processes involved in the selected modules and in th 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0055447636669', 'images': ['images/process_nodes.jpeg','images/process_transitions.jpeg', 'images/processes.jpeg'], + 'js': [ + 'static/src/js/process.js' + ], + 'css': [ + 'static/src/css/process.css' + ], + 'qweb': [ + 'static/src/xml/*.xml' + ], + 'auto_install': True } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/process/i18n/ar.po b/addons/process/i18n/ar.po index e5134d74525..8a5f126e71d 100644 --- a/addons/process/i18n/ar.po +++ b/addons/process/i18n/ar.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/bg.po b/addons/process/i18n/bg.po index 9e6f8f21bda..66c13322fa8 100644 --- a/addons/process/i18n/bg.po +++ b/addons/process/i18n/bg.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/bs.po b/addons/process/i18n/bs.po index 6439f37092d..c10b5eec251 100644 --- a/addons/process/i18n/bs.po +++ b/addons/process/i18n/bs.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/ca.po b/addons/process/i18n/ca.po index a1019113dab..c9e1954edc7 100644 --- a/addons/process/i18n/ca.po +++ b/addons/process/i18n/ca.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/cs.po b/addons/process/i18n/cs.po index 02537171919..d58bb06af4c 100644 --- a/addons/process/i18n/cs.po +++ b/addons/process/i18n/cs.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" "X-Poedit-Language: Czech\n" #. module: process diff --git a/addons/process/i18n/da.po b/addons/process/i18n/da.po index 04fd54cc0ed..fad5eca1748 100644 --- a/addons/process/i18n/da.po +++ b/addons/process/i18n/da.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/de.po b/addons/process/i18n/de.po index 3fa40ce32a1..bdee54b7046 100644 --- a/addons/process/i18n/de.po +++ b/addons/process/i18n/de.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/el.po b/addons/process/i18n/el.po index 9b90b69d62f..e666c43ba4e 100644 --- a/addons/process/i18n/el.po +++ b/addons/process/i18n/el.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" "X-Poedit-Country: GREECE\n" "X-Poedit-Language: Greek\n" "X-Poedit-SourceCharset: utf-8\n" diff --git a/addons/process/i18n/es.po b/addons/process/i18n/es.po index 9cf7d6609fa..00a8ebf9cee 100644 --- a/addons/process/i18n/es.po +++ b/addons/process/i18n/es.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/es_AR.po b/addons/process/i18n/es_AR.po index 7eb543cb150..5cda4601671 100644 --- a/addons/process/i18n/es_AR.po +++ b/addons/process/i18n/es_AR.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/es_CL.po b/addons/process/i18n/es_CL.po index 663b00ddbd1..5f064601063 100644 --- a/addons/process/i18n/es_CL.po +++ b/addons/process/i18n/es_CL.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/es_CR.po b/addons/process/i18n/es_CR.po index 10264055135..661b67b25fe 100644 --- a/addons/process/i18n/es_CR.po +++ b/addons/process/i18n/es_CR.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" "Language: \n" #. module: process diff --git a/addons/process/i18n/et.po b/addons/process/i18n/et.po index f6ee54d9661..a14a9235962 100644 --- a/addons/process/i18n/et.po +++ b/addons/process/i18n/et.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/fi.po b/addons/process/i18n/fi.po index a07415f418a..751d21f8eb5 100644 --- a/addons/process/i18n/fi.po +++ b/addons/process/i18n/fi.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/fr.po b/addons/process/i18n/fr.po index 8e0fec604dd..4633ae18437 100644 --- a/addons/process/i18n/fr.po +++ b/addons/process/i18n/fr.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/gl.po b/addons/process/i18n/gl.po index 14f15708157..811610889f8 100644 --- a/addons/process/i18n/gl.po +++ b/addons/process/i18n/gl.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/hi.po b/addons/process/i18n/hi.po index 1537f6c998d..ed7527f27af 100644 --- a/addons/process/i18n/hi.po +++ b/addons/process/i18n/hi.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/hr.po b/addons/process/i18n/hr.po index 43fb55ea5aa..a1878a44b27 100644 --- a/addons/process/i18n/hr.po +++ b/addons/process/i18n/hr.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" "Language: hr\n" #. module: process diff --git a/addons/process/i18n/hu.po b/addons/process/i18n/hu.po index a1cbed92925..4a7782332f4 100644 --- a/addons/process/i18n/hu.po +++ b/addons/process/i18n/hu.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/id.po b/addons/process/i18n/id.po index d66aa3321aa..9168119a01a 100644 --- a/addons/process/i18n/id.po +++ b/addons/process/i18n/id.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/it.po b/addons/process/i18n/it.po index 9d8fa80c621..d9288ea6620 100644 --- a/addons/process/i18n/it.po +++ b/addons/process/i18n/it.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/ja.po b/addons/process/i18n/ja.po index 7580ef72dad..16d5c663b2d 100644 --- a/addons/process/i18n/ja.po +++ b/addons/process/i18n/ja.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/ko.po b/addons/process/i18n/ko.po index 6977dfef44d..f93a1267064 100644 --- a/addons/process/i18n/ko.po +++ b/addons/process/i18n/ko.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/lt.po b/addons/process/i18n/lt.po index 3cf0cf45f22..dae1201cc66 100644 --- a/addons/process/i18n/lt.po +++ b/addons/process/i18n/lt.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/mn.po b/addons/process/i18n/mn.po index 57c091066a3..95d5c094975 100644 --- a/addons/process/i18n/mn.po +++ b/addons/process/i18n/mn.po @@ -20,8 +20,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/nl.po b/addons/process/i18n/nl.po index 2e9ef121465..ff201273ff3 100644 --- a/addons/process/i18n/nl.po +++ b/addons/process/i18n/nl.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node @@ -127,7 +127,7 @@ msgstr "Bron knooppunt" #: view:process.transition:0 #: field:process.transition,transition_ids:0 msgid "Workflow Transitions" -msgstr "Werkschema transities" +msgstr "Workflow transities" #. module: process #: field:process.transition.action,action:0 diff --git a/addons/process/i18n/nl_BE.po b/addons/process/i18n/nl_BE.po index 950e905b553..7eee603d957 100644 --- a/addons/process/i18n/nl_BE.po +++ b/addons/process/i18n/nl_BE.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/pl.po b/addons/process/i18n/pl.po index eb555b337f3..e5229d875bb 100644 --- a/addons/process/i18n/pl.po +++ b/addons/process/i18n/pl.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/pt.po b/addons/process/i18n/pt.po index b06ba6cdd9d..892994cceda 100644 --- a/addons/process/i18n/pt.po +++ b/addons/process/i18n/pt.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/pt_BR.po b/addons/process/i18n/pt_BR.po index b810a37bc4a..0a6ec139087 100644 --- a/addons/process/i18n/pt_BR.po +++ b/addons/process/i18n/pt_BR.po @@ -8,13 +8,14 @@ msgstr "" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" "PO-Revision-Date: 2012-07-28 19:10+0000\n" -"Last-Translator: Fábio Martinelli <webmaster@guaru.net>\n" +"Last-Translator: Fábio Martinelli - http://zupy.com.br " +"<webmaster@guaru.net>\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/ro.po b/addons/process/i18n/ro.po index 0afb72c73eb..e4c93f96d89 100644 --- a/addons/process/i18n/ro.po +++ b/addons/process/i18n/ro.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/ru.po b/addons/process/i18n/ru.po index 82937f99254..c3995031662 100644 --- a/addons/process/i18n/ru.po +++ b/addons/process/i18n/ru.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/sk.po b/addons/process/i18n/sk.po index 04b090d5016..387d86ee963 100644 --- a/addons/process/i18n/sk.po +++ b/addons/process/i18n/sk.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/sl.po b/addons/process/i18n/sl.po index 1a589329811..82820e40e9b 100644 --- a/addons/process/i18n/sl.po +++ b/addons/process/i18n/sl.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/sq.po b/addons/process/i18n/sq.po index bbae821f8b3..2b2707d8bb8 100644 --- a/addons/process/i18n/sq.po +++ b/addons/process/i18n/sq.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/sr.po b/addons/process/i18n/sr.po index 7c0ab34f95a..519695a3e53 100644 --- a/addons/process/i18n/sr.po +++ b/addons/process/i18n/sr.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/sr@latin.po b/addons/process/i18n/sr@latin.po index 4a784c621ca..e5686d701e5 100644 --- a/addons/process/i18n/sr@latin.po +++ b/addons/process/i18n/sr@latin.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/sv.po b/addons/process/i18n/sv.po index 4f2c253edd2..675e4d0cae2 100644 --- a/addons/process/i18n/sv.po +++ b/addons/process/i18n/sv.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/tlh.po b/addons/process/i18n/tlh.po index aba9dcc3307..0e79b53a768 100644 --- a/addons/process/i18n/tlh.po +++ b/addons/process/i18n/tlh.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/tr.po b/addons/process/i18n/tr.po index 8bd19a14eda..29837651ac8 100644 --- a/addons/process/i18n/tr.po +++ b/addons/process/i18n/tr.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/uk.po b/addons/process/i18n/uk.po index eec6a0a0608..283f385674a 100644 --- a/addons/process/i18n/uk.po +++ b/addons/process/i18n/uk.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/vi.po b/addons/process/i18n/vi.po index 4ec121fac7d..07f7363f58a 100644 --- a/addons/process/i18n/vi.po +++ b/addons/process/i18n/vi.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/zh_CN.po b/addons/process/i18n/zh_CN.po index c1b6faa96fd..12bd4509bf7 100644 --- a/addons/process/i18n/zh_CN.po +++ b/addons/process/i18n/zh_CN.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/i18n/zh_TW.po b/addons/process/i18n/zh_TW.po index 598fc6dd252..e2f6e3b3a9a 100644 --- a/addons/process/i18n/zh_TW.po +++ b/addons/process/i18n/zh_TW.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-07 05:01+0000\n" -"X-Generator: Launchpad (build 15745)\n" +"X-Launchpad-Export-Date: 2012-10-30 04:58+0000\n" +"X-Generator: Launchpad (build 16206)\n" #. module: process #: model:ir.model,name:process.model_process_node diff --git a/addons/process/process.py b/addons/process/process.py index f9744608c50..fa7596287a3 100644 --- a/addons/process/process.py +++ b/addons/process/process.py @@ -195,8 +195,8 @@ class process_process(osv.osv): if nodes[nid].get('directory_id', False): resource['directory'] = self.pool.get('document.directory').get_resource_path(cr, uid, nodes[nid]['directory_id'], ref_model, ref_id) - resource['name'] = refobj.name_get(context)[0][1] - resource['perm'] = pool.get(ref_model).perm_read(cr, uid, [ref_id], context)[0] + resource['name'] = pool.get(ref_model).name_get(cr, uid, [ref_id], context=context)[0][1] + resource['perm'] = pool.get(ref_model).perm_read(cr, uid, [ref_id], context=context)[0] for r in relatives: node = nodes[r] diff --git a/addons/process/static/src/css/process.css b/addons/process/static/src/css/process.css new file mode 100644 index 00000000000..5f438622653 --- /dev/null +++ b/addons/process/static/src/css/process.css @@ -0,0 +1,70 @@ + +a.cta-a { + float: left; + padding: 5px 10px; + border: 1px solid #ccc; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + background: #eeeded url(/process/static/src/img/cta-a.gif) repeat-x; + box-shadow: 0 1px 0 #fff; + -moz-box-shadow: 0 1px 0 #fff; + -webkit-box-shadow: 0 1px 0 #fff; + color: #8c8c8c; + font-size: 0.9em; + text-transform: uppercase; + font-weight: bold; + text-shadow: #fff 0 1px 0; + margin: 2px; +} + +a.cta-a span { + float: left; + padding: 7px 0 5px 5px; + background-position: 0 50%; + background-repeat: no-repeat; + cursor: pointer; +} + +a.cta-a strong { + display: block; + color: #393939; +} +.process-links { + padding: 5px 10px; + text-align: center; + display: table; + margin: auto; +} +.process-links a.cta-a { + display: table-cell; +} +.process_canvas{ + border: 1px solid #aaa; + background-color:#FFF; +} +.process_canvas svg{ + height:500px; + padding:15px; +} +.oe_process { + height: 20px; + margin-top:3px; + padding: 0; + width: 24px; + cursor: pointer; + display: block; + background: url(/web/static/src/img/iconset-a-help.png) no-repeat center center; + float: left; +} + +.process-help-text { + float: left; + padding:5px 10px; + min-height:56px; + font-size: 120%; +} + +td.process_fields,button.toggle_fields span:last-child { + display: none; +} diff --git a/addons/process/static/src/img/button-a-a.png b/addons/process/static/src/img/button-a-a.png Binary files differnew file mode 100644 index 00000000000..bd046bbbef7 --- /dev/null +++ b/addons/process/static/src/img/button-a-a.png diff --git a/addons/process/static/src/img/cta-a.gif b/addons/process/static/src/img/cta-a.gif Binary files differnew file mode 100644 index 00000000000..daa561e29f5 --- /dev/null +++ b/addons/process/static/src/img/cta-a.gif diff --git a/addons/process/static/src/img/iconset-a-help.gif b/addons/process/static/src/img/iconset-a-help.gif Binary files differnew file mode 100644 index 00000000000..5400acec57b --- /dev/null +++ b/addons/process/static/src/img/iconset-a-help.gif diff --git a/addons/process/static/src/img/node-current.png b/addons/process/static/src/img/node-current.png Binary files differnew file mode 100644 index 00000000000..51f86b04c78 --- /dev/null +++ b/addons/process/static/src/img/node-current.png diff --git a/addons/process/static/src/img/node-gray.png b/addons/process/static/src/img/node-gray.png Binary files differnew file mode 100644 index 00000000000..972013540cf --- /dev/null +++ b/addons/process/static/src/img/node-gray.png diff --git a/addons/process/static/src/img/node-subflow-gray.png b/addons/process/static/src/img/node-subflow-gray.png Binary files differnew file mode 100644 index 00000000000..ffafe1bd681 --- /dev/null +++ b/addons/process/static/src/img/node-subflow-gray.png diff --git a/addons/process/static/src/img/node-subflow.png b/addons/process/static/src/img/node-subflow.png Binary files differnew file mode 100644 index 00000000000..fd2a480204d --- /dev/null +++ b/addons/process/static/src/img/node-subflow.png diff --git a/addons/process/static/src/img/node.png b/addons/process/static/src/img/node.png Binary files differnew file mode 100644 index 00000000000..853ac85cd56 --- /dev/null +++ b/addons/process/static/src/img/node.png diff --git a/addons/process/static/src/js/process.js b/addons/process/static/src/js/process.js new file mode 100644 index 00000000000..73ca4396ce6 --- /dev/null +++ b/addons/process/static/src/js/process.js @@ -0,0 +1,250 @@ +openerp.process = function (instance) { +var QWeb = instance.web.qweb, + _t = instance.web._t; +instance.web.ViewManager.include({ + start: function() { + var self = this; + var _super = this._super(); + this.process_help = this.action ? this.action.help : ''; + if(this.action) { + this.process_model = this.action.res_model; + } else { + this.process_model = this.dataset.model; + } + this.$el.on('click', '.oe_process', function(ev) { self.initialize_process_view(ev);}); + return _super; + }, + initialize_process_view: function(ev) { + var self = this; + this.record_id = false; + if(this.active_view == 'form') { + this.record_id = this.views[this.active_view].controller.datarecord.id; + } + this.process_get_object().then(function(process) { + if(process && process.length) { + if(process.length > 1) { + self.process_selection = process; + } else { + self.process_id = process[0][0], + self.process_title = process[0][1]; + } + } + return $.Deferred().resolve(); + }).then(function() { + var def = $.Deferred(); + if(self.process_id) { + $.when(self.process_graph_get()).done(function(res) { + self.process_notes = res.notes; + self.process_title = res.name; + self.process_subflows = _(res.nodes).chain() + .filter(function (node) { return node['subflow'] !== false; }) + .uniq(false, function (node) { return node['subflow'][0]; }).value(); + self.process_related = res.related; + def.resolve(res); + }); + } else def.resolve(); + return def.promise(); + }).done(function(res) { + $.when(self.process_render_view()).done(function() { + if(res) { + self.process_draw_graph(res); + } + }); + }); + }, + process_graph_get: function() { + var self = this; + var def = $.Deferred(); + this.process_id = parseInt(this.process_id, 10); + this.process_dataset + .call("graph_get",[self.process_id, self.model || self.dataset.model, self.record_id, [80,80,150,100], self.session.user_context]) + .done(function(res) { + self.process_dataset + .call("search_by_model",[self.model || self.dataset.model, self.session.user_context]) + .done( + function(r) { + res['related'] = r; + def.resolve(res); + }); + }); + return def.promise(); + }, + process_get_object : function() { + var self = this, + def = $.Deferred(); + if(this.process_id) + return def.resolve().promise(); + this.process_dataset = new instance.web.DataSet(self, "process.process", self.session.user_context); + this.process_dataset + .call("search_by_model", [self.process_model,self.session.user_context]) + .done(function(res) { + if (!res.length) { + self.process_model = false; + self.process_get_object().done(def.resolve); + } + else { + def.resolve(res); + } + }) + .fail(def.reject); + return def.promise(); + }, + process_render_view : function() { + var self = this; + this.$el.html(QWeb.render("process.ProcessView", this)); + this.$el.addClass('oe_view_process').css({'background-color':'#F0EEEE'}); + this.$el.find('#edit_process').click(function() { + self.process_edit_view(); + }); + var $parent = this.getParent().$el; + $parent.find('#change_process').click(function() { + self.process_selection = false, + self.process_id = $parent.find('#select_process').val(), + self.process_title = $.trim($parent.find('#select_process option:selected').text()); + self.initialize_process_view(); + }); + this.$el.find(".process_subflow").click(function() { + self.process_id = this.id; + self.initialize_process_view(); + }); + }, + process_draw_graph : function(result) { + var self = this; + var res_nodes = result['nodes']; + var res_edges = result['transitions']; + var id_to_node = {}; + var canvas = $('div.process_canvas').empty().get(0); + var style = { + edge_color: "#A0A0A0", + edge_label_font_size: 10, + edge_width: 2, + edge_spacing: 40, + edge_loop_radius: 200, + + node_label_color: "#333", + node_label_font_size: 12, + node_outline_color: "#333", + node_outline_width: 1, + node_outline_color: "#F5F5F5", + node_outline_width: 0, + node_selected_width: 0, + node_size_x: 150, + node_size_y: 100, + + gray: "#DCDCDC", + white: "#FFF", + viewport_margin: 50 + }; + var r = new Raphael(canvas,'100%','100%'); + var graph = new CuteGraph(r,style,canvas.parentNode); + var render_process = function(r,nodes){ + //For Image + var image_node = nodes.kind == "subflow" ? "node-subflow" : "node"; + image_node = nodes.gray ? image_node + "-gray" : image_node; + image_node = nodes.active ? 'node-current': image_node; + var img_src = '/process/static/src/img/'+ image_node + '.png'; + var image = r['image'](img_src, nodes.x-25, nodes.y,150, 100).attr({"cursor": "default"}) .mousedown(function() { return false; }); + //For Node + var process_node = r['rect'](nodes.x, nodes.y, 150, 150).attr({stroke: "none"}); + // Node text + if(nodes.name.length > 18){ + var text = nodes.name.substr(0,16) + '...' + } + var node_text = r.text(nodes.x+60, nodes.y+10,(text || nodes.name.substr(0,18))).attr({"fill": "#fff","font-weight": "bold", "cursor": "default","title":nodes.name}); + //Node Description + var new_notes = nodes.notes; + if(nodes.notes.length > 25) { + var to; + var temp_str = new_notes = ''; + var from = to = 0; + while (1) { + from = 25; + temp_str = nodes.notes.substr(to, 25); + if (temp_str.lastIndexOf(" ") < 25 && temp_str.length >= 25) { + from = temp_str.lastIndexOf(" "); + } + new_notes += "\n" + nodes.notes.substr(to, from); + if (new_notes.length > 80){ + break; + } + to += from; + } + } + if(nodes.res) + new_notes = nodes.res.name + '\n' + new_notes; + if(nodes.notes.length > 60){ + var notes = new_notes.substring(0,60) +'..'; + } + r.text(nodes.x+60, nodes.y+30, (notes || new_notes)).attr({"title":nodes.notes,"cursor": "default"}); + r['image']('/web/static/src/img/icons/gtk-info.png', nodes.x, nodes.y+75, 16, 16) + .attr({"cursor": "pointer", "title": "Help"}) + .click(function() { + window.open(nodes.url || "http://doc.openerp.com/v6.1/index.php?model=" + nodes.model); + }); + if(nodes.menu) { + r['image']('/web/static/src/img/icons/gtk-jump-to.png', nodes.x+100, nodes.y+75, 16, 16) + .attr({"cursor": "pointer", "title": nodes.menu.name}) + .click(function() { + self.process_jump_to_view(nodes.res_model, nodes.menu.id); + }); + } + var process_set =r.set().push(process_node); + process_set.mousedown(function() { + return false; + }); + return process_set; + } + _.each(res_nodes, function(node,id) { + node['res_model'] = self.model, + node['res_id'] = false, + node['color'] = 'gray' + var n = new CuteNode( + graph, + node.x + 50, //FIXME the +50 should be in the layout algorithm + node.y + 50, + CuteGraph.wordwrap("", 14)); + n.id = id; + id_to_node[id] = n; + return render_process(r,node); + }); + _.each(res_edges, function(edge) { + var e = new CuteEdge( + graph, + CuteGraph.wordwrap(" ",0), + id_to_node[edge.source], + id_to_node[edge.target] || id_to_node[edge.source]); + e.id = edge.id; + }); + }, + process_jump_to_view: function(model,id) { + var self = this; + var dataset = new instance.web.DataSet(this, 'ir.values', this.session.user_context); + var action_manager = new instance.web.ActionManager(self); + dataset.call('get', + ['action', 'tree_but_open',[['ir.ui.menu', id]], dataset.context]).done(function(res) { + var action = res[0][res[0].length - 1]; + self.rpc("/web/action/load", { + action_id: action.id, + context: dataset.context + }).done(function(result) { + action_manager.replace(self.$el); + action_manager.do_action(result.result); + }) + }); + }, + process_edit_view: function() { + var self = this; + var pop = new instance.web.form.FormOpenPopup(self); + pop.show_element( + self.process_dataset.model, + self.process_id, + self.context || self.dataset.context, + { + title: _t('Process') + }); + var form_controller = pop.view_form; + pop.on('write_completed', self, self.initialize_process_view); + } +}); +}; +// vim:et fdc=0 fdl=0 foldnestmax=3 fdm=syntax: diff --git a/addons/process/static/src/xml/process.xml b/addons/process/static/src/xml/process.xml new file mode 100644 index 00000000000..d6229b686f3 --- /dev/null +++ b/addons/process/static/src/xml/process.xml @@ -0,0 +1,93 @@ +<template> +<!-- vim:fdl=1: +--> +<t t-extend="ViewManagerAction"> + <t t-jquery="h2.oe_view_title" t-operation="after"> + <t t-if="widget.session.debug && widget.flags.display_title !== false"> + <a class="oe_process" title="Process View" href="javascript: void(0)"></a> + </t> + </t> +</t> +<t t-name="process.ProcessView"> + <table class="view" border="0" width="auto" height="auto" cellpadding="0" cellspacing="0"> + <tr> + <td width="70%" valign="top" class="fields collapsed"> + <div class="oe_view_manager oe_view_manager_current"> + <div class="oe_view_manager_header" style="padding: 8px;"> + <div class="oe_header_row"> + <h2 class="oe_view_title"> + <span class="oe_view_title_text oe_breadcrumb_title"><t t-esc="action.name"/> (<a t-attf-href="http://doc.openerp.com/v6.1/index.php?model=#{action.res_model}"><t t-esc="action.res_model"/></a>)</span> + </h2> + </div> + </div> + </div> + </td> + </tr> + <tr> + <td style="padding-left:10px;"> + <p><t t-raw="process_help"/></p> + </td> + </tr> + <tr> + <td style="padding-left:10px;"> + <h2> <t t-esc="process_title"/> Process </h2> + <t t-if="process_notes"> + <p> + <strong>Notes:</strong> <t t-esc="process_notes"/> + </p> + <p> + <strong>Last modified by:</strong> N/A + </p> + <t t-if="process_subflows.length"> + <strong>Subflows:</strong> + <t t-foreach="process_subflows" t-as="subflow"> + <t t-if="subflow.subflow[0] != process_id"> + <p> + <a class="oe_bold process_subflow" t-att-id="subflow.subflow[0]" href="javascript: void(0)"> + <t t-esc="subflow.subflow[1]"/> + </a> + </p> + </t> + </t> + </t> + <t t-if="process_related.length and process_related[0][0] != process_id"> + <strong>Related:</strong> + <p> + <a class="oe_bold process_subflow" t-att-id="process_related[0][0]" href="javascript: void(0)"> + <t t-esc="process_related[0][1]"/> + </a> + </p> + </t> + </t> + </td> + </tr> + <tr t-if="process_selection"> + <td style="padding-left:10px;"> + <fieldset> + <legend> + Select Process + </legend> + <select id="select_process"> + <t t-foreach="process_selection" t-as="prc"> + <option t-att-value="prc[0]"> + <t t-esc="prc[1]"/> + </option> + </t> + </select> + <button class="oe_button oe_highlight" id="change_process">Select</button> + </fieldset> + </td> + </tr> + <tr t-if="process_id"> + <td> + <div class="process_canvas"></div> + </td> + </tr> + <tr t-if="process_id"> + <td style="padding-left:10px;"> + <button class="oe_button oe_highlight" id="edit_process">Edit Process</button> + </td> + </tr> + </table> +</t> +</template> |
