[FIX] web_diagram, unlink connectors/transitions between nodes from the diagram view (transitions IDs sent to the web client were strings instead of integers)

This commit is contained in:
sebalix
2014-10-11 21:49:44 +02:00
committed by sebalix
parent 9b67a483df
commit 8e7e6dfaa3
+1 -1
View File
@@ -48,7 +48,7 @@ class DiagramView(openerp.http.Controller):
for tr in transitions:
list_tr.append(tr)
connectors.setdefault(tr, {
'id': tr,
'id': int(tr),
's_id': transitions[tr][0],
'd_id': transitions[tr][1]
})