Use the right order of columns in the index used for account.account.party
issue10216 review 348241002
This commit is contained in:
@@ -774,7 +774,7 @@ class Line(ModelSQL, ModelView):
|
||||
table_h.index_action(['move', 'account'], 'add')
|
||||
# Index for account.account.party
|
||||
table_h.index_action(
|
||||
['party', 'account', 'id'], 'add', where=table.party != Null)
|
||||
['account', 'party', 'id'], 'add', where=table.party != Null)
|
||||
|
||||
@classmethod
|
||||
def default_date(cls):
|
||||
|
||||
Reference in New Issue
Block a user