details: https://code.tryton.org/tryton/commit/5892acd0aba0
branch: 7.0
user: Adrià Tarroja Caubet <[email protected]>
date: Wed May 13 11:25:48 2026 +0200
description:
Avoid crash on SEPA mandate report without bank
Closes #14831
(grafted from e0215f17958ae81f62403c4ff552d8551a163393)
diffstat:
modules/account_payment_sepa/mandate.fodt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r efbeefa6be8b -r 5892acd0aba0 modules/account_payment_sepa/mandate.fodt
--- a/modules/account_payment_sepa/mandate.fodt Thu May 21 10:26:44 2026 +0200
+++ b/modules/account_payment_sepa/mandate.fodt Wed May 13 11:25:48 2026 +0200
@@ -758,7 +758,7 @@
<text:p text:style-name="P9"/>
</table:table-cell>
<table:table-cell table:style-name="Table1.B1"
table:number-columns-spanned="2" office:value-type="string">
- <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><mandate.account_number.account.bank.bic if
mandate.account_number else ''></text:placeholder></text:p>
+ <text:p text:style-name="Table_20_Contents"><text:placeholder
text:placeholder-type="text"><mandate.account_number.account.bank.bic if
mandate.account_number and mandate.account_number.account.bank else
''></text:placeholder></text:p>
</table:table-cell>
<table:covered-table-cell/>
</table:table-row>