From 1ecba6fc828d01a42447ae3350b7de4065ee8415 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 : 7.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 838931374e..1bdf2a11aa 100644 --- a/modules/account_payment_sepa/mandate.fodt +++ b/modules/account_payment_sepa/mandate.fodt @@ -758,7 +758,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 ''>