details: https://code.tryton.org/tryton/commit/58a34c698a9b
branch: default
user: Cédric Krier <[email protected]>
date: Thu Apr 02 15:29:10 2026 +0200
description:
Restrict direct debit domain to party with receptions
Closes #14736
diffstat:
modules/account_payment/account.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 5ab2d2f91842 -r 58a34c698a9b modules/account_payment/account.py
--- a/modules/account_payment/account.py Thu May 07 11:19:56 2026 +0200
+++ b/modules/account_payment/account.py Thu Apr 02 15:29:10 2026 +0200
@@ -270,7 +270,7 @@
('account.type.receivable', '=', True),
('account.type.payable', '=', True),
],
- ('party', '!=', None),
+ ('party.reception_direct_debits', '!=', None),
('reconciliation', '=', None),
('payment_amount', '!=', 0),
('move_state', '=', 'posted'),