[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user