From 69a329292a9c8a53fec175d98075ac8b41a313e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 16 Feb 2023 21:01:10 +0100 Subject: [PATCH] Order FEC lines by posted date first Closes #7779 --- modules/account_fr/account.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/account_fr/account.py b/modules/account_fr/account.py index a5f6e9daed..43f5f39a1f 100644 --- a/modules/account_fr/account.py +++ b/modules/account_fr/account.py @@ -311,6 +311,7 @@ class FrFEC(Wizard): return Line.search( domain, order=[ + ('move.post_date', 'ASC'), ('move.post_number', 'ASC'), ('id', 'ASC'), ])