Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ def setUpClass(cls):
}
)
cls.partner.property_account_receivable_id = cls.account
# No chart of accounts is installed during at-install tests on a
# fresh database, so provide the accounts invoice lines need.
cls.income_account = cls.env["account.account"].create(
{
"name": "Test income account",
"code": "TESTINC",
"account_type": "income",
}
)
cls.env.company.income_account_id = cls.income_account
cls.journal.default_account_id = cls.income_account
cls.product_categ = cls.env["product.category"].create(
{"name": "Test category"}
)
Expand Down
Loading