Skip to content

Commit

Permalink
[IMP] partner_multi_company: prevent inconsistencies between user and…
Browse files Browse the repository at this point in the history
… partner companies
  • Loading branch information
ArnauCForgeFlow authored and BhaveshHeliconia committed Dec 23, 2024
1 parent ae97536 commit ca0a798
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mail_multicompany/tests/test_mail_multicompany.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TestMailMultiCompany(TransactionCase):
def setUpClass(cls):
super().setUpClass()
cls.user_demo = cls.env.ref("base.user_demo")
cls.user_demo.partner_id.company_id = False
company_obj = cls.env["res.company"]
server_obj = cls.env["ir.mail_server"]
cls.company1 = company_obj.create({"name": "Company 1"})
Expand Down

0 comments on commit ca0a798

Please sign in to comment.