Add company clause to balance domain for direct debit reception
Closes #14499
This commit is contained in:
1 parent
40a3345fb5
commit
e543e295cf
1 file changed
+2
@@ -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),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user