Add company clause to balance domain for direct debit reception

Closes #14499
This commit is contained in:
Cédric Krier committed 2026-01-15 14:41:53 +01:00
1 parent 40a3345fb5
commit e543e295cf
1 file changed
+2
+2
View File
@@ -170,6 +170,7 @@ class PartyReceptionDirectDebit(
('maturity_date', '=', None),
],
('payment_blocked', '!=', True),
('company', '=', self.company.id),
]
def get_balance_pending_payment_domain(self):
@@ -178,6 +179,7 @@ class PartyReceptionDirectDebit(
('currency', '=', self.currency.id),
('state', 'not in', ['succeeded', 'failed']),
('line', '=', None),
('company', '=', self.company.id),
]