From 10d66803631f79b3b6116925d1c7d6ba149146dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 11 Jun 2015 07:41:10 +0000 Subject: [PATCH] graph_editor: fix business process editor for BP without final states --- .../erp5_graph_editor/BusinessProcess_getGraph.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml b/bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml index 9737bf7f96..fe232a8a4a 100644 --- a/bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml +++ b/bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml @@ -63,7 +63,9 @@ visited_business_process_set = set() # prevent infinite recurisions\n \n def getBusinessProcessGraph(business_process):\n graph = dict(node=dict(start=dict(_class=\'erp5.business_process.start\',\n - name=str(translateString(\'Start\'))),),\n + name=str(translateString(\'Start\'))),\n + end=dict(_class=\'erp5.business_process.end\',\n + name=str(translateString(\'End\'))),),\n edge=dict())\n \n \n -- 2.30.9