From 73bb266e2fbf7419ed4b921e9298bf3f19cd587b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Tarroja=20Caubet?= Date: Wed, 13 May 2026 11:25:48 +0200 Subject: [PATCH] Avoid crash on SEPA mandate report without bank Closes #14831 (grafted from e0215f17958ae81f62403c4ff552d8551a163393) --HG-- branch : 8.0 --- modules/account_payment_sepa/mandate.fodt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account_payment_sepa/mandate.fodt b/modules/account_payment_sepa/mandate.fodt index 2b81f9db5a..003e4780fe 100644 --- a/modules/account_payment_sepa/mandate.fodt +++ b/modules/account_payment_sepa/mandate.fodt @@ -829,7 +829,7 @@ - <mandate.account_number.account.bank.bic if mandate.account_number else ''> + <mandate.account_number.account.bank.bic if mandate.account_number and mandate.account_number.account.bank else ''>