From b17a80a0455dd05a6bac5c2651e4eb3542e50b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 28 May 2026 16:30:28 +0200 Subject: [PATCH] Use only active journal for reception of direct debit Closes #14866 (grafted from e579e58686df04322d881b5911acf6b8be3b7c89) --HG-- branch : 8.0 --- modules/account_payment/party.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/account_payment/party.py b/modules/account_payment/party.py index 32b7911b47..0ac95481ce 100644 --- a/modules/account_payment/party.py +++ b/modules/account_payment/party.py @@ -21,6 +21,7 @@ class Party(metaclass=PoolMeta): 'party.party.payment_direct_debit', 'party', "Direct Debits") reception_direct_debits = fields.One2Many( 'party.party.reception_direct_debit', 'party', "Direct Debits", + filter=[('journal.active', '=', True)], help="Fill to debit automatically the customer.") payment_identical_parties = fields.Function( fields.Many2Many('party.party', None, None, "Identical Parties"),