Browse Source

[IMP] pre-commit version downgrade

14.0
Fábio Oliveira 4 years ago
committed by Jacob Oldfield
parent
commit
6e1bd7a901
  1. 2
      partner_contact_in_several_companies/demo/res_partner.xml
  2. 1
      partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py
  3. 4
      partner_contact_in_several_companies/views/res_partner.xml

2
partner_contact_in_several_companies/demo/res_partner.xml

@ -6,12 +6,10 @@
<field name="parent_id" ref="base.res_partner_4" /> <field name="parent_id" ref="base.res_partner_4" />
<field name="contact_id" ref="base.res_partner_main2" /> <field name="contact_id" ref="base.res_partner_main2" />
</record> </record>
<record id="res_partner_contact1" model="res.partner"> <record id="res_partner_contact1" model="res.partner">
<field name="name">Bob Egnops</field> <field name="name">Bob Egnops</field>
<field name="email">bob@hillenburg-oceaninstitute.com</field> <field name="email">bob@hillenburg-oceaninstitute.com</field>
</record> </record>
<record id="res_partner_contact1_work_position1" model="res.partner"> <record id="res_partner_contact1_work_position1" model="res.partner">
<field name="name">Bob Egnops</field> <field name="name">Bob Egnops</field>
<field name="function">Technician</field> <field name="function">Technician</field>

1
partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py

@ -3,7 +3,6 @@ from odoo.tests import common
class PartnerContactInSeveralCompaniesCase(common.TransactionCase): class PartnerContactInSeveralCompaniesCase(common.TransactionCase):
def setUp(self): def setUp(self):
"""*****setUp*****""" """*****setUp*****"""
super(PartnerContactInSeveralCompaniesCase, self).setUp() super(PartnerContactInSeveralCompaniesCase, self).setUp()

4
partner_contact_in_several_companies/views/res_partner.xml

@ -23,7 +23,6 @@
</xpath> </xpath>
</field> </field>
</record> </record>
<record id="view_res_partner_tree_contact" model="ir.ui.view"> <record id="view_res_partner_tree_contact" model="ir.ui.view">
<field name="name">res.partner.tree.contact</field> <field name="name">res.partner.tree.contact</field>
<field name="model">res.partner</field> <field name="model">res.partner</field>
@ -34,7 +33,6 @@
</field> </field>
</field> </field>
</record> </record>
<record model="ir.ui.view" id="view_partner_form_inherit"> <record model="ir.ui.view" id="view_partner_form_inherit">
<field name="name">res.partner.form.contact</field> <field name="name">res.partner.form.contact</field>
<field name="model">res.partner</field> <field name="model">res.partner</field>
@ -236,7 +234,6 @@
</page> </page>
</field> </field>
</record> </record>
<record id="personal_contact_information" model="ir.ui.view"> <record id="personal_contact_information" model="ir.ui.view">
<field name="name">Contacts in several partners: personal info</field> <field name="name">Contacts in several partners: personal info</field>
<field name="model">res.partner</field> <field name="model">res.partner</field>
@ -271,7 +268,6 @@
</xpath> </xpath>
</field> </field>
</record> </record>
<record model="ir.ui.view" id="view_res_partner_kanban_contact"> <record model="ir.ui.view" id="view_res_partner_kanban_contact">
<field name="name">res.partner.kanban.contact</field> <field name="name">res.partner.kanban.contact</field>
<field name="model">res.partner</field> <field name="model">res.partner</field>

Loading…
Cancel
Save