[FIX] ir.values: predictible ordering for sidebar items (based on IDs i.e. creation order)

bzr revid: odo@openerp.com-20120320113851-lsg8ju1w0cvdo0tj
This commit is contained in:
Olivier Dony
2012-03-20 12:38:51 +01:00
parent 08b4442e08
commit 697e034d54
+1 -1
View File
@@ -404,7 +404,7 @@ class ir_values(osv.osv):
results[action['name']] = (action['id'], action['name'], action_def)
except except_orm, e:
continue
return results.values()
return sorted(results.values())
def _map_legacy_model_list(self, model_list, map_fn, merge_results=False):
"""Apply map_fn to the various models passed, according to