Restrict direct debit domain to party with receptions

Closes #14736
This commit is contained in:
Cédric Krier committed 2026-04-02 15:29:10 +02:00
1 parent ee4bdd08bb
commit f1e349beee
1 file changed
+1 -1
+1 -1
View File
@@ -270,7 +270,7 @@ class MoveLine(metaclass=PoolMeta):
('account.type.receivable', '=', True),
('account.type.payable', '=', True),
],
('party', '!=', None),
('party.reception_direct_debits', '!=', None),
('reconciliation', '=', None),
('payment_amount', '!=', 0),
('move_state', '=', 'posted'),