Skip to content

Commit

Permalink
[FIX] Fix deprecated method in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ellbristow committed Jan 10, 2025
1 parent b01fa5b commit aa1b894
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setUpClass(cls):
cls.Company = cls.env["res.company"]
cls.MailActivityType = cls.env["mail.activity.type"]
cls.MailActivity = cls.env["mail.activity"]
cls.company_id = cls.Company._company_default_get()
cls.company_id = cls.env.company
cls.now = datetime(2020, 4, 19, 15, 00)
cls.today = cls.now.date()
cls.model_res_partner = cls.env["ir.model"].search(
Expand Down

0 comments on commit aa1b894

Please sign in to comment.