Browse Source

[FIX] base_location: Fix tests according last change

14.0
Pedro M. Baeza 3 years ago
parent
commit
0a8d27df8a
  1. 4
      base_location/tests/test_base_location.py

4
base_location/tests/test_base_location.py

@ -185,10 +185,6 @@ class TestBaseLocation(common.SavepointCase):
self.city_bcn.country_id.enforce_cities = False self.city_bcn.country_id.enforce_cities = False
partner.city_id = self.city_bcn partner.city_id = self.city_bcn
self.assertFalse(partner.zip_id) self.assertFalse(partner.zip_id)
partner.city_id = self.env["res.city"]
self.assertEqual(
len(partner.allowed_zip_ids), self.env["res.city.zip"].search_count([])
)
def test_partner_onchange_state(self): def test_partner_onchange_state(self):
"""Test partner onchange state_id""" """Test partner onchange state_id"""

Loading…
Cancel
Save