From 5a24591cd51a00e12fd8e88eb9d98a6960eba8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Jan 2024 17:04:33 +0100 Subject: [PATCH] Use account end date of AEB43 as statement date It is useful to have statement ordered correctly to have the start balance filled by default. --- modules/account_statement_aeb43/statement.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/account_statement_aeb43/statement.py b/modules/account_statement_aeb43/statement.py index f461fa0b2c..172bec3db8 100644 --- a/modules/account_statement_aeb43/statement.py +++ b/modules/account_statement_aeb43/statement.py @@ -55,6 +55,7 @@ class ImportStatement(metaclass=PoolMeta): } statement.company = self.start.company statement.journal = journal + statement.date = account.end_date statement.start_balance = account.initial_balance statement.end_balance = account.final_balance statement.number_of_lines = len(account.transactions)