From 79d7e52abc8ad7068c6d5be2b101eab063b677d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 18 Sep 2026 23:41:26 +0200 Subject: [PATCH] Make mandate required for SEPA direct debit reception Closes #15093 --- modules/account_payment_sepa/party.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/account_payment_sepa/party.py b/modules/account_payment_sepa/party.py index 4e4e541975..8629c85ad3 100644 --- a/modules/account_payment_sepa/party.py +++ b/modules/account_payment_sepa/party.py @@ -60,6 +60,7 @@ class PartyReceptionDirectDebit(metaclass=PoolMeta): ], states={ 'invisible': Eval('process_method') != 'sepa', + 'required': Eval('process_method') == 'sepa', 'readonly': ~Eval('party') | (Eval('party', -1) < 0), })