From 4fceb23cccf5d5e9c91692ce8fdf36574ab42480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 28 Apr 2021 10:15:54 +0200 Subject: [PATCH] Use the right order of columns in the index used for account.account.party issue10216 review 348241002 --- move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.py b/move.py index d1c4f8a238..bfe47d463f 100644 --- a/move.py +++ b/move.py @@ -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):