From c95dd45f67d6b2f6520718e9c306de4da308c1d4 Mon Sep 17 00:00:00 2001 From: Raimon Esteve Date: Fri, 2 Sep 2016 10:23:01 +0200 Subject: [PATCH] Order analytic account by code and name issue5839 review33301002 --- account.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account.py b/account.py index eb6111e477..2cb25504ba 100644 --- a/account.py +++ b/account.py @@ -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():