Integer, Numeric and Float allow None as value
NULL value is None and not False issue2022 review237004
This commit is contained in:
1 parent
1344eb33fb
commit
cef8224ec3
1 file changed
+1
-1
@@ -150,7 +150,7 @@ class CompanyTestCase(unittest.TestCase):
|
||||
self.assertEqual(company_id, False)
|
||||
|
||||
user1, user2 = self.user.browse([user1_id, user2_id])
|
||||
self.assertEqual(user1.company.id, False)
|
||||
self.assertEqual(user1.company.id, None)
|
||||
self.assertEqual(user2.company.id, company2_id)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user