diff --git a/partner_prospect/README.rst b/partner_prospect/README.rst index 64a6857c88c..4fd01dcc2ca 100644 --- a/partner_prospect/README.rst +++ b/partner_prospect/README.rst @@ -1,5 +1,6 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :alt: License: AGPL-3 +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: https://www.gnu.org/licenses/agpl + :alt: License: AGPL-3 ================ Partner prospect @@ -26,10 +27,9 @@ 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 smash it by providing detailed and welcomed feedback. Credits ======= @@ -41,6 +41,8 @@ Contributors * Ana Juaristi * Oihane Crucelaegui +Do not contact contributors directly about support or help with technical issues. + Maintainer ---------- diff --git a/partner_prospect/__init__.py b/partner_prospect/__init__.py index ad6c8186c04..31660d6a965 100644 --- a/partner_prospect/__init__.py +++ b/partner_prospect/__init__.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from . import models diff --git a/partner_prospect/__manifest__.py b/partner_prospect/__manifest__.py index ca24659cef7..4fabc63117d 100644 --- a/partner_prospect/__manifest__.py +++ b/partner_prospect/__manifest__.py @@ -1,41 +1,19 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -############################################################################## +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Partner Prospect", "version": "11.0.1.0.0", - "license": "AGPL-3", + "category": "Sales Management", + "website": "https://github.com/OCA/sale-workflow", "author": "AvanzOSC, " "Serv. Tecnol. Avanzados - Pedro M. Baeza," "Odoo Community Association (OCA)", - "website": "http://www.avanzosc.es", - "category": "Sales Management", - "contributors": [ - "Esther Martín ", - "Pedro M. Baeza ", - "Ana Juaristi ", - "Oihane Crucelaegui ", - ], + "license": "AGPL-3", + "installable": True, "depends": [ "sale", ], "data": [ "views/res_partner_view.xml", ], - "installable": True, } diff --git a/partner_prospect/models/__init__.py b/partner_prospect/models/__init__.py index 09361e42b34..c6cc3b32989 100644 --- a/partner_prospect/models/__init__.py +++ b/partner_prospect/models/__init__.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from . import res_partner diff --git a/partner_prospect/models/res_partner.py b/partner_prospect/models/res_partner.py index a99b1d0becc..b8e39682e19 100644 --- a/partner_prospect/models/res_partner.py +++ b/partner_prospect/models/res_partner.py @@ -1,9 +1,6 @@ -# -*- coding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from openerp import api, fields, models +from odoo import api, fields, models class ResPartner(models.Model): diff --git a/partner_prospect/tests/__init__.py b/partner_prospect/tests/__init__.py index 2b3ff9835ab..25359946666 100644 --- a/partner_prospect/tests/__init__.py +++ b/partner_prospect/tests/__init__.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from . import test_partner_prospect diff --git a/partner_prospect/tests/test_partner_prospect.py b/partner_prospect/tests/test_partner_prospect.py index 441b860acd4..d89964a5cb9 100644 --- a/partner_prospect/tests/test_partner_prospect.py +++ b/partner_prospect/tests/test_partner_prospect.py @@ -1,9 +1,6 @@ -# -*- coding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from openerp.tests.common import TransactionCase +from odoo.tests.common import TransactionCase class TestPartnerProspect(TransactionCase): diff --git a/partner_prospect/views/res_partner_view.xml b/partner_prospect/views/res_partner_view.xml index 8ef51422508..0f41fa37521 100644 --- a/partner_prospect/views/res_partner_view.xml +++ b/partner_prospect/views/res_partner_view.xml @@ -1,6 +1,5 @@ - res.partner.prospect.form res.partner @@ -46,5 +45,4 @@ {'default_customer':1, 'search_default_customer':1, 'search_default_noprospect': 1, 'default_company_type': 'company','default_is_company': 1} -