From b0545e4ba110ee4837b1b0b12cd51801ce01df71 Mon Sep 17 00:00:00 2001 From: cubells Date: Tue, 8 Nov 2016 20:09:15 +0100 Subject: [PATCH] partner_sector: Migration to 9.0 --- partner_sector/README.rst | 8 +- partner_sector/__init__.py | 1 + partner_sector/__openerp__.py | 7 +- partner_sector/models/__init__.py | 1 + partner_sector/models/res_partner.py | 1 + partner_sector/models/res_partner_sector.py | 1 + partner_sector/tests/__init__.py | 1 + partner_sector/tests/test_res_partner.py | 1 + .../views/res_partner_sector_view.xml | 48 +++++----- partner_sector/views/res_partner_view.xml | 87 +++++++++---------- 10 files changed, 80 insertions(+), 76 deletions(-) diff --git a/partner_sector/README.rst b/partner_sector/README.rst index 88a51e0c3..7e3c39ccf 100644 --- a/partner_sector/README.rst +++ b/partner_sector/README.rst @@ -29,7 +29,7 @@ Only companies have sectors. .. 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/8.0 + :target: https://runbot.odoo-community.org/runbot/134/9.0 Known issues / Roadmap ====================== @@ -41,9 +41,8 @@ Bug Tracker =========== Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed feedback -`here `_. +In case of trouble, please check there if your issue has already been reported. If you +spotted it first, help us smashing it by providing a detailed and welcomed feedback. Credits ======= @@ -54,6 +53,7 @@ Contributors * Rafael Blasco * Antonio Espinosa * Javier Iniesta +* Vicent Cubells Maintainer ---------- diff --git a/partner_sector/__init__.py b/partner_sector/__init__.py index ba0257333..044276aef 100644 --- a/partner_sector/__init__.py +++ b/partner_sector/__init__.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # © 2015 Antiun Ingenieria S.L. - Antonio Espinosa +# © 2016 Tecnativa S.L. - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models diff --git a/partner_sector/__openerp__.py b/partner_sector/__openerp__.py index a90e7c51b..9640be0fe 100644 --- a/partner_sector/__openerp__.py +++ b/partner_sector/__openerp__.py @@ -1,14 +1,15 @@ # -*- coding: utf-8 -*- # © 2015 Antiun Ingenieria S.L. - Javier Iniesta +# © 2016 Tecnativa S.L. - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Partner Sector", "summary": "Add partner sectors", - "version": "8.0.1.0.0", + "version": "9.0.1.0.0", "category": "Customer Relationship Management", - "website": "http://www.antiun.com", - "author": "Antiun Ingeniería S.L., Odoo Community Association (OCA)", + "website": "http://www.tecnativa.com", + "author": "Tecnativa, Odoo Community Association (OCA)", "license": "AGPL-3", "application": False, "installable": True, diff --git a/partner_sector/models/__init__.py b/partner_sector/models/__init__.py index 29ce4da80..7976185ff 100644 --- a/partner_sector/models/__init__.py +++ b/partner_sector/models/__init__.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # © 2015 Antiun Ingenieria S.L. - Javier Iniesta +# © 2016 Tecnativa S.L. - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import res_partner diff --git a/partner_sector/models/res_partner.py b/partner_sector/models/res_partner.py index 957fa38fd..b362f999a 100644 --- a/partner_sector/models/res_partner.py +++ b/partner_sector/models/res_partner.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # © 2015 Antiun Ingenieria S.L. - Javier Iniesta +# © 2016 Tecnativa S.L. - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api, exceptions, _ diff --git a/partner_sector/models/res_partner_sector.py b/partner_sector/models/res_partner_sector.py index ae512d126..d1861a145 100644 --- a/partner_sector/models/res_partner_sector.py +++ b/partner_sector/models/res_partner_sector.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # © 2015 Antiun Ingenieria S.L. - Javier Iniesta +# © 2016 Tecnativa S.L. - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields, api diff --git a/partner_sector/tests/__init__.py b/partner_sector/tests/__init__.py index cba4e6c7f..74a487558 100644 --- a/partner_sector/tests/__init__.py +++ b/partner_sector/tests/__init__.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # © 2015 Antiun Ingenieria S.L. - Javier Iniesta +# © 2016 Tecnativa S.L. - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import test_res_partner diff --git a/partner_sector/tests/test_res_partner.py b/partner_sector/tests/test_res_partner.py index 8b9d99e94..c18b35ff3 100644 --- a/partner_sector/tests/test_res_partner.py +++ b/partner_sector/tests/test_res_partner.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # © 2015 Antiun Ingenieria S.L. - Javier Iniesta +# © 2016 Tecnativa S.L. - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp.tests.common import TransactionCase diff --git a/partner_sector/views/res_partner_sector_view.xml b/partner_sector/views/res_partner_sector_view.xml index 7d6f73aa4..e614ac998 100644 --- a/partner_sector/views/res_partner_sector_view.xml +++ b/partner_sector/views/res_partner_sector_view.xml @@ -1,32 +1,30 @@ - - + - - Sectors - res.partner.sector - form - tree - + + Sectors + res.partner.sector + form + tree + - - Partner Sector tree - res.partner.sector - - - - - - - + + Partner Sector tree + res.partner.sector + + + + + + + - + - - + diff --git a/partner_sector/views/res_partner_view.xml b/partner_sector/views/res_partner_view.xml index 7b09c0212..406c96159 100644 --- a/partner_sector/views/res_partner_view.xml +++ b/partner_sector/views/res_partner_view.xml @@ -1,54 +1,53 @@ - - + - - Partner form with sector - res.partner - - - - - + + Partner form with sector + res.partner + + + + + + - - + - - Partner tree with sector - res.partner - - - - + + Partner tree with sector + res.partner + + + + + - - + - - Partner search with sector - res.partner - - - - + + Partner search with sector + res.partner + + + + + + + + - - - - - + - - +