[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-08-08 14:13:58 +02:00 committed by sebalix
parent 9b67a483df
commit 8e7e6dfaa3
1 changed files with 1 additions and 1 deletions

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]
})