From 0de89e36e31ab249aebf775201facdf9493c3bd3 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 (grafted from 898ada1d40173616e801cf579ce449bdb27501ce) --HG-- branch : 6.0 --- 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 7525a0be8a..fbf7918951 100644 --- a/modules/account_fr/account.py +++ b/modules/account_fr/account.py @@ -267,6 +267,7 @@ class FrFEC(Wizard): return Line.search( domain, order=[ + ('move.post_date', 'ASC'), ('move.post_number', 'ASC'), ('id', 'ASC'), ])