diff --git a/partner_changeset/demo/changeset_field_rule.xml b/partner_changeset/demo/changeset_field_rule.xml index 05d265b6d2c..a8dafdff0fb 100644 --- a/partner_changeset/demo/changeset_field_rule.xml +++ b/partner_changeset/demo/changeset_field_rule.xml @@ -43,7 +43,7 @@ - validate + auto diff --git a/partner_identification/tests/test_res_partner.py b/partner_identification/tests/test_res_partner.py index c06670b8dba..5e69a8b9277 100644 --- a/partner_identification/tests/test_res_partner.py +++ b/partner_identification/tests/test_res_partner.py @@ -54,6 +54,11 @@ def setUpClass(cls): cls.env.registry.enter_test_mode() cls._init_test_model(ResPartner) + @classmethod + def tearDownClass(cls): + cls.env.registry.leave_test_mode() + super(TestResPartner, cls).tearDownClass() + def setUp(self): super(TestResPartner, self).setUp() bad_cat = self.env['res.partner.id_category'].create({