Make mandate required for SEPA direct debit reception
Closes #15093 (grafted from 5f18f6ba22b8d079b9f349d74ad748e418f6f373) --HG-- branch : 7.0
This commit is contained in:
@@ -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),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user