details: https://code.tryton.org/tryton/commit/7dee8ba70a1c
branch: 7.6
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
(grafted from fe91cb4f774866dca3296cc0705de11c36d0c419)
diffstat:
modules/account/type_statement.fodt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 90d4b91924ff -r 7dee8ba70a1c modules/account/type_statement.fodt
--- a/modules/account/type_statement.fodt Thu Feb 12 12:58:09 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>