Remove order on parent as it doesn't work with the new order feature
This commit is contained in:
1 parent
bcb5ccf5e0
commit
41ffcddbfd
1 file changed
+1
-2
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user