Restrict mandate on direct debit reception to the same company as the journal
Closes #14737
This commit is contained in:
1 parent
f623812818
commit
05b4e9a6e9
1 file changed
+1
@@ -56,6 +56,7 @@ class PartyReceptionDirectDebit(metaclass=PoolMeta):
|
||||
'account.payment.sepa.mandate', "Mandate", ondelete='CASCADE',
|
||||
domain=[
|
||||
('party', '=', Eval('party', -1)),
|
||||
('company', '=', Eval('company', -1)),
|
||||
],
|
||||
states={
|
||||
'invisible': Eval('process_method') != 'sepa',
|
||||
|
||||
Reference in new issue
Block a user