From fc022576568cc71e110f4519a416f2d43cfc3792 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 --- 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>