Order analytic account by code and name

issue5839
review33301002
This commit is contained in:
Raimon Esteve committed 2016-09-02 10:23:01 +02:00
1 parent 26f3c5c534
commit c95dd45f67
1 file changed
+1
+1
View File
@@ -77,6 +77,7 @@ class Account(ModelSQL, ModelView):
def __setup__(cls):
super(Account, cls).__setup__()
cls._order.insert(0, ('code', 'ASC'))
cls._order.insert(1, ('name', 'ASC'))
@staticmethod
def default_active():