Skip to content

Commit

Permalink
Update test_account_check_deposit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
abenzbiria authored Nov 26, 2024
1 parent 53f9f59 commit a1acec8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def setUpClass(cls):

def test_debit_move_line_has_company(self):
self.deposit.validate_deposit()
debit = self.deposit.line_ids.filtered(lambda l: l.credit)
debit = self.deposit.check_payment_ids.filtered(lambda l: l.debit)
assert debit.partner_id == self.env.user.company_id.partner_id
credit = self.deposit.line_ids.filtered(lambda l: l.credit)
credit = self.deposit.check_payment_ids.filtered(lambda l: l.credit)
assert credit.partner_id == self.partner

0 comments on commit a1acec8

Please sign in to comment.