Skip to content

Commit

Permalink
[IMP] account_move_change_financial_account: change internal_type and…
Browse files Browse the repository at this point in the history
… user_type_id to account_type in tests
  • Loading branch information
kaynnan committed May 3, 2023
1 parent f303d18 commit ed7f06e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ def setUpClass(cls, chart_template_ref=None):
}
)
cls.receivable_account = cls.env["account.account"].search(
[("internal_type", "=", "receivable")], limit=1
[("account_type", "=", "asset_receivable")], limit=1
)
cls.revenue_account = cls.env["account.account"].create(
{
"name": "Test Revenue Account",
"code": "TRA",
"user_type_id": cls.env.ref("account.data_account_type_revenue").id,
"account_type": cls.env.ref("account.data_account_type_revenue").id,
}
)
cls.new_receivable_account = cls.env["account.account"].create(
{
"name": "New Receivable Account",
"code": "NEWRCV",
"user_type_id": cls.env.ref("account.data_account_type_receivable").id,
"account_type": cls.env.ref("account.data_account_type_receivable").id,
"reconcile": True,
}
)
Expand Down

0 comments on commit ed7f06e

Please sign in to comment.