Remove order on parent as it doesn't work with the new order feature

This commit is contained in:
Cédric Krier committed 2008-06-10 13:53:46 +02:00
1 parent bcb5ccf5e0
commit 41ffcddbfd
1 file changed
+1 -2
+1 -2
View File
@@ -15,8 +15,7 @@ class Category(OSV):
def __init__(self):
super(Category, self).__init__()
self._order.insert(0, ('parent', 'ASC'))
self._order.insert(1, ('name', 'ASC'))
self._order.insert(0, ('name', 'ASC'))
def get_complete_name(self, cursor, user, ids, name, arg, context=None):
res = self.name_get(cursor, user, ids, context=context)