details: https://code.tryton.org/tryton/commit/fe91cb4f7748
branch: default
user: Adrià Tarroja Caubet <[email protected]>
date: Thu Jan 08 17:37:09 2026 +0100
description:
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
diffstat:
modules/account/type_statement.fodt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 74e03666d782 -r fe91cb4f7748 modules/account/type_statement.fodt
--- a/modules/account/type_statement.fodt Mon Feb 16 19:19:01 2026 +0100
+++ b/modules/account/type_statement.fodt Thu Jan 08 17:37:09 2026 +0100
@@ -536,7 +536,7 @@
<text:p text:style-name="P25">From Date: <text:placeholder
text:placeholder-type="text"><format_date(ctx.from_date, user.language) if
ctx.from_date else ''></text:placeholder><text:s/>To
<text:placeholder text:placeholder-type="text"><format_date(ctx.to_date,
user.language) if ctx.to_date else ''></text:placeholder></text:p>
<text:p text:style-name="P24"><text:placeholder
text:placeholder-type="text"></if></text:placeholder></text:p>
<text:p text:style-name="P24"><text:placeholder
text:placeholder-type="text"></when></text:placeholder></text:p>
- <text:p text:style-name="P24"><text:placeholder
text:placeholder-type="text"><when
test="data.get('model_context') in
['account.balance_sheet.context',
'account.balance_sheet.comparision.context']"></text:placeholder></text:p>
+ <text:p text:style-name="P24"><text:placeholder
text:placeholder-type="text"><when
test="data.get('model_context') in
['account.balance_sheet.context',
'account.balance_sheet.comparison.context']"></text:placeholder></text:p>
<text:p text:style-name="P28">Balance Sheet</text:p>
<text:p text:style-name="P26">Date: <text:placeholder
text:placeholder-type="text"><format_date(ctx.date, user.language) if
ctx.date else ''></text:placeholder></text:p>
<text:p text:style-name="P24"><text:placeholder
text:placeholder-type="text"></when></text:placeholder></text:p>