details: https://code.tryton.org/tryton/commit/5f18f6ba22b8
branch: default
user: Cédric Krier <[email protected]>
date: Fri Sep 18 23:41:26 2026 +0200
description:
Make mandate required for SEPA direct debit reception
Closes #15093
diffstat:
modules/account_payment_sepa/party.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 7a8a0e5e508f -r 5f18f6ba22b8 modules/account_payment_sepa/party.py
--- a/modules/account_payment_sepa/party.py Mon Sep 28 08:34:05 2026 +0200
+++ b/modules/account_payment_sepa/party.py Fri Sep 18 23:41:26 2026 +0200
@@ -60,6 +60,7 @@
],
states={
'invisible': Eval('process_method') != 'sepa',
+ 'required': Eval('process_method') == 'sepa',
'readonly': ~Eval('party') | (Eval('party', -1) < 0),
})