From 75efdfe11220bb1ef3f7e284099a4d1cb9c9908a Mon Sep 17 00:00:00 2001 From: sergiocorato Date: Thu, 25 Jan 2024 11:35:13 +0100 Subject: [PATCH] [IMP] set date order to intrastat statement l10n_it_intrastat_statement --- l10n_it_intrastat_statement/models/intrastat_statement.py | 1 + 1 file changed, 1 insertion(+) diff --git a/l10n_it_intrastat_statement/models/intrastat_statement.py b/l10n_it_intrastat_statement/models/intrastat_statement.py index 38005e62e51b..652bbaf3fa4f 100644 --- a/l10n_it_intrastat_statement/models/intrastat_statement.py +++ b/l10n_it_intrastat_statement/models/intrastat_statement.py @@ -44,6 +44,7 @@ class AccountIntrastatStatement(models.Model): _name = "account.intrastat.statement" _description = "Intrastat Statement" _rec_name = "number" + _order = "date desc" def round_min_amount(self, amount, company=None, prec_digits=None, truncate=False): """