From ce108610c6ba9cecfcbfb78cb6f1fdec9fabe54d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Tarroja=20Caubet?= Date: Thu, 8 Jan 2026 17:37:09 +0100 Subject: [PATCH] Test model context in type statement report against the right name of context There is a typo in the model context of 'account.balance_sheet.comparison.context'. Closes #14628 (grafted from fe91cb4f774866dca3296cc0705de11c36d0c419) --HG-- branch : 7.0 --- modules/account/type_statement.fodt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account/type_statement.fodt b/modules/account/type_statement.fodt index 08801caf57..f5c00b1729 100644 --- a/modules/account/type_statement.fodt +++ b/modules/account/type_statement.fodt @@ -536,7 +536,7 @@ From Date: <format_date(ctx.from_date, user.language) if ctx.from_date else ''>To <format_date(ctx.to_date, user.language) if ctx.to_date else ''> </if> </when> - <when test="data.get('model_context') in ['account.balance_sheet.context', 'account.balance_sheet.comparision.context']"> + <when test="data.get('model_context') in ['account.balance_sheet.context', 'account.balance_sheet.comparison.context']"> Balance Sheet Date: <format_date(ctx.date, user.language) if ctx.date else ''> </when>