From 6ae732061d7350f0bf0a51dde2984a08d401228e Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 24 Oct 2017 21:20:51 +0200 Subject: [PATCH] [MIG] V11 migration - fax field removed from res.partner - 2to3 on all py files - add contributor and update README - use hasclass in place of @class in xpath expr --- partner_contact_in_several_companies/README.rst | 2 +- partner_contact_in_several_companies/__manifest__.py | 4 ++-- .../tests/test_partner_contact_in_several_companies.py | 8 ++++---- .../views/res_partner.xml | 4 +--- partner_contact_personal_information_page/README.rst | 5 +++-- partner_contact_personal_information_page/__manifest__.py | 5 +++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/partner_contact_in_several_companies/README.rst b/partner_contact_in_several_companies/README.rst index dc32131a8f60..c5b59ebff538 100644 --- a/partner_contact_in_several_companies/README.rst +++ b/partner_contact_in_several_companies/README.rst @@ -32,7 +32,7 @@ For further information, please visit: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/10.0 + :target: https://runbot.odoo-community.org/runbot/134/11.0 Known issues / Roadmap ====================== diff --git a/partner_contact_in_several_companies/__manifest__.py b/partner_contact_in_several_companies/__manifest__.py index 6ac293a5e080..66d3b3611088 100644 --- a/partner_contact_in_several_companies/__manifest__.py +++ b/partner_contact_in_several_companies/__manifest__.py @@ -4,10 +4,10 @@ { "name": "Contacts in several partners", "summary": "Allow to have one contact in several partners", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "category": "Customer Relationship Management", "website": "https://odoo-community.org/", - "author": "Odoo Community Association (OCA),Odoo SA", + "author": "Nicolas JEUDY,Odoo Community Association (OCA),Odoo SA", "license": "AGPL-3", 'application': False, 'installable': True, diff --git a/partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py b/partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py index d1220870b7c8..33e7d7e98fa3 100644 --- a/partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py +++ b/partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py @@ -139,8 +139,8 @@ def test_04_contact_creation(self): new_contact = self.partner.create( {'contact_id': self.bob_contact.id} ) - self.assertEqual(new_contact.name, u'Bob Egnops') - self.assertEqual(new_contact.contact_type, u'attached') + self.assertEqual(new_contact.name, 'Bob Egnops') + self.assertEqual(new_contact.contact_type, 'attached') # Create a contact with both contact_id and name; # contact's name should override provided value in that case @@ -149,14 +149,14 @@ def test_04_contact_creation(self): ) self.assertEqual( new_contact.name, - u'Bob Egnops' + 'Bob Egnops' ) # Reset contact to standalone new_contact.write({'contact_id': False}) self.assertEqual( new_contact.contact_type, - u'standalone', + 'standalone', ) # Reset contact to attached, and ensure only it is unlinked (i.e. diff --git a/partner_contact_in_several_companies/views/res_partner.xml b/partner_contact_in_several_companies/views/res_partner.xml index 8485ec045d45..aeca21eb7eef 100644 --- a/partner_contact_in_several_companies/views/res_partner.xml +++ b/partner_contact_in_several_companies/views/res_partner.xml @@ -55,7 +55,6 @@ - @@ -77,7 +76,6 @@
Phone:
Mobile:
-
Fax:
@@ -168,7 +166,7 @@
- +
  • + other position diff --git a/partner_contact_personal_information_page/README.rst b/partner_contact_personal_information_page/README.rst index ab725f7ef072..2f267310f70e 100644 --- a/partner_contact_personal_information_page/README.rst +++ b/partner_contact_personal_information_page/README.rst @@ -38,7 +38,7 @@ For further information, please visit: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/9.0 + :target: https://runbot.odoo-community.org/runbot/134/11.0 Known issues / Roadmap ====================== @@ -68,6 +68,7 @@ Contributors * Matjaž Mozetič * Rudolf Schnapka * Richard deMeester +* Nicolas JEUDY Maintainer ---------- @@ -82,4 +83,4 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit http://odoo-community.org. \ No newline at end of file +To contribute to this module, please visit http://odoo-community.org. diff --git a/partner_contact_personal_information_page/__manifest__.py b/partner_contact_personal_information_page/__manifest__.py index 28113dd7b61a..89cc81ca59d3 100644 --- a/partner_contact_personal_information_page/__manifest__.py +++ b/partner_contact_personal_information_page/__manifest__.py @@ -4,16 +4,17 @@ { "name": "Personal information page for contacts", "summary": "Add a page to contacts form to put personal information", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "category": "Customer Relationship Management", "website": "https://odoo-community.org/", - "author": "Odoo Community Association (OCA)", + "author": "Nicolas JEUDY,Odoo Community Association (OCA)", "contributors": [ 'EL Hadji DEM ', 'Jairo Llopis ', 'Matjaž Mozetič ', 'Rudolf Schnapka ', 'Richard deMeester ', + 'Nicolas JEUDY ', ], "license": "AGPL-3", 'application': False,