details: https://code.tryton.org/tryton/commit/ab430e9809f1
branch: default
user: Cédric Krier <[email protected]>
date: Thu Apr 02 15:32:01 2026 +0200
description:
Restrict mandate on direct debit reception to the same company as the
journal
Closes #14737
diffstat:
modules/account_payment_sepa/party.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 05e1fff8ebc5 -r ab430e9809f1 modules/account_payment_sepa/party.py
--- a/modules/account_payment_sepa/party.py Wed Apr 01 18:24:35 2026 +0200
+++ b/modules/account_payment_sepa/party.py Thu Apr 02 15:32:01 2026 +0200
@@ -56,6 +56,7 @@
'account.payment.sepa.mandate', "Mandate", ondelete='CASCADE',
domain=[
('party', '=', Eval('party', -1)),
+ ('company', '=', Eval('company', -1)),
],
states={
'invisible': Eval('process_method') != 'sepa',