Restrict mandate on direct debit reception to the same company as the journal

Closes #14737
This commit is contained in:
Cédric Krier committed 2026-04-02 15:32:01 +02:00
1 parent f623812818
commit 05b4e9a6e9
1 file changed
+1
+1
View File
@@ -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',