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 9141a71 commit 4588bc9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions donation_direct_debit/tests/test_direct_debit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@ def test_direct_debit(self):
dd_payment_mode = self.env.ref(
"account_banking_sepa_direct_debit.payment_mode_inbound_sepa_dd1"
)
donation_debit_order_account = self.env["account.account"].create(
{
"code": "101300",
"name": "Account Receivable",
"account_type": "asset_receivable",
}
)
bank_journal = self.env["account.journal"].create(
{
"type": "bank",
"name": "Bank account test",
"donation_debit_order_account_id": donation_debit_order_account.id
}
)
dd_payment_mode.write(
Expand Down

0 comments on commit 4588bc9

Please sign in to comment.