Browse Source

[FIX] partner-contact CI interactions

pull/470/head
David 7 years ago
parent
commit
bc93e7bbc3
  1. 2
      partner_changeset/demo/changeset_field_rule.xml
  2. 5
      partner_identification/tests/test_res_partner.py

2
partner_changeset/demo/changeset_field_rule.xml

@ -43,7 +43,7 @@
<record model="changeset.field.rule" id="changeset_field_rule_credit_limit">
<field name="field_id" ref="base.field_res_partner_credit_limit"/>
<field name="action">validate</field>
<field name="action">auto</field>
</record>
</odoo>

5
partner_identification/tests/test_res_partner.py

@ -54,6 +54,11 @@ class TestResPartner(common.SavepointCase):
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({

Loading…
Cancel
Save