Add default name ordering on referential models
issue7971 review66501002
This commit is contained in:
1 parent
f6d0d04b88
commit
37cf6e394f
1 file changed
+1
@@ -45,6 +45,7 @@ class Journal(ModelSQL, ModelView):
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(Journal, cls).__setup__()
|
||||
cls._order.insert(0, ('name', 'ASC'))
|
||||
t = cls.__table__()
|
||||
cls._sql_constraints = [
|
||||
('bank_account_unique',
|
||||
|
||||
Reference in new issue
Block a user