From 6278bce20e8c9a7f29be89a5e59601612d5cfccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 13 Jun 2023 15:57:00 +0200 Subject: [PATCH] Fix message variable for open fiscal year earlier --- modules/account/fiscalyear.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account/fiscalyear.py b/modules/account/fiscalyear.py index fa44b201e9..530ef77d47 100644 --- a/modules/account/fiscalyear.py +++ b/modules/account/fiscalyear.py @@ -147,7 +147,7 @@ class FiscalYear(Workflow, ModelSQL, ModelView): raise FiscalYearDatesError( gettext('account.msg_open_fiscalyear_earlier', open=year.rec_name, - close=fiscalyear.rec_name)) + closed=fiscalyear.rec_name)) @classmethod def check_post_move_sequence(cls, fiscalyears, field_names=None):