summaryrefslogtreecommitdiff
path: root/openerp/sql_db.py
diff options
context:
space:
mode:
authorThomas Rehn <thomas.rehn@initos.com>2015-04-24 13:09:05 +0200
committerOlivier Dony <odo@openerp.com>2015-04-24 13:50:26 +0200
commite8ffc09b30509ba80f1c74fb5269b0b77ff67458 (patch)
tree888715f2c1933bdb7dc83c3e42b504601e764093 /openerp/sql_db.py
parent641c25b2e6e5c63067da485683a328022bc930cf (diff)
[FIX] ir.ui.view (diagram): do not depend on semi-random order of _columns
The ir.ui.view.graph_get() method depended on the natural semi-random order of Python dict keys in the _columns dict. When the number and/or names of the _columns happened to yield the o2m field of the "incoming transitions" *before* the "outgoing transitions" of the "Node model" (e.g. workflow activity), it would swap the incoming and outgoing transitions fields around, causing a crash later in the `tools.graph.process` method (currently an infinite loop in the `tree_order()` method of tools.graph.py). Closes #3614 Fixes https://bugs.launchpad.net/openobject-server/+bug/1316948 opw-633765
Diffstat (limited to 'openerp/sql_db.py')
0 files changed, 0 insertions, 0 deletions