[MIG] base_user_role: Migration to 14.0

This commit is contained in:
Jesús Alan Ramos Rodríguez
2020-10-12 11:51:00 -05:00
committed by Bert Van Groenendael
parent 2b7ac443f5
commit 324fe8d97d
6 changed files with 14 additions and 10 deletions

View File

@@ -187,7 +187,7 @@ class TestUserRole(TransactionCase):
}
)
# Check that user does not have any groups
self.assertEquals(self.user_id.groups_id, self.env["res.groups"].browse())
self.assertEqual(self.user_id.groups_id, self.env["res.groups"].browse())
def test_user_role_same_company(self):
self.user_id.write({"company_id": self.company1.id})