[IMP] ir_filers: added an order in the construction of the list of available models

bzr revid: qdp-launchpad@openerp.com-20130220103459-1wnu06p3fbaaoz83
This commit is contained in:
Quentin (OpenERP)
2013-02-20 11:34:59 +01:00
parent faa08bd2c9
commit f69ede5bfc
+1 -1
View File
@@ -28,7 +28,7 @@ class ir_filters(osv.osv):
_description = 'Filters'
def _list_all_models(self, cr, uid, context=None):
cr.execute("SELECT model, name from ir_model")
cr.execute("SELECT model, name FROM ir_model ORDER BY name")
return cr.fetchall()
def copy(self, cr, uid, id, default=None, context=None):