Merge pull request #1678 from sebalix/8.0-fix-web_diagram

[FIX] 8.0 web_diagram, unlink connectors/transitions between nodes from the diagram view
This commit is contained in:
Frédéric Van der Essen 2014-10-28 17:15:50 +01:00
commit 1b53469738
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]
})