From b7b4dc2f698d7be69557e8325f1a3affe8a14962 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 (grafted from 5f18f6ba22b8d079b9f349d74ad748e418f6f373) --HG-- branch : 7.0 --- 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 a0a18a64a0..cad79e1714 100644 --- a/modules/account_payment_sepa/party.py +++ b/modules/account_payment_sepa/party.py @@ -61,6 +61,7 @@ class PartyReceptionDirectDebit(metaclass=PoolMeta): ], states={ 'invisible': Eval('process_method') != 'sepa', + 'required': Eval('process_method') == 'sepa', 'readonly': ~Eval('party') | (Eval('party', -1) < 0), })