From a49ee526d24605106c0234cd1fb3867a4ae5b578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 11 Mar 2026 16:03:00 +0100 Subject: [PATCH] Order Account Parties of General Ledger by party before id by default Closes #14669 --- modules/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account/account.py b/modules/account/account.py index df3c1f02b3..0bf182b2e6 100644 --- a/modules/account/account.py +++ b/modules/account/account.py @@ -2299,7 +2299,7 @@ class GeneralLedgerAccountParty(_GeneralLedgerAccount): @classmethod def __setup__(cls): super().__setup__() - cls._order.insert(2, ('party', 'ASC')) + cls._order.insert(1, ('party', 'ASC')) @classmethod def _get_account(cls):