Skip to content

Commit

Permalink
fix test_direct_debit
Browse files Browse the repository at this point in the history
  • Loading branch information
brendaf committed Apr 22, 2024
1 parent 481344d commit 756aaad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions donation/tests/test_donation.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ class TestDonation(TransactionCase):

def setUp(self):
super().setUp()
donation_debit_order_account = self.env["account.account"].create(
{
"code": "1013Don",
"name": "Account Receivable Don",
"account_type": "asset_receivable",
}
)
self.bank_journal = self.env["account.journal"].create(
{
"type": "bank",
"name": "test bank journal",
"donation_debit_order_account_id": donation_debit_order_account.id
}
)
self.payment_mode = self.env["account.payment.mode"].create(
Expand Down

0 comments on commit 756aaad

Please sign in to comment.