diff --git a/partner_phone_extension/README.rst b/partner_phone_extension/README.rst index ddb9609be..6ad6b7055 100644 --- a/partner_phone_extension/README.rst +++ b/partner_phone_extension/README.rst @@ -8,13 +8,12 @@ Partner Phone Number Extension This module adds a phone number extension field in partner form view. - Usage ===== .. 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/10.0 Bug Tracker =========== diff --git a/partner_phone_extension/__init__.py b/partner_phone_extension/__init__.py index 0c366a791..149f4e4fd 100644 --- a/partner_phone_extension/__init__.py +++ b/partner_phone_extension/__init__.py @@ -1,10 +1,4 @@ # -*- coding: utf-8 -*- -# Copyright 2013-2014 Savoir-faire Linux -# (). -# Copyright 2017 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) -# Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import models diff --git a/partner_phone_extension/__openerp__.py b/partner_phone_extension/__manifest__.py similarity index 96% rename from partner_phone_extension/__openerp__.py rename to partner_phone_extension/__manifest__.py index 338c0274a..b8fa3f7c9 100644 --- a/partner_phone_extension/__openerp__.py +++ b/partner_phone_extension/__manifest__.py @@ -9,7 +9,7 @@ { 'name': 'Partner Phone Number Extension', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Customer Relationship Management', 'summary': 'Partner Phone Number Extension', 'author': "Savoir-faire Linux, " diff --git a/partner_phone_extension/models/__init__.py b/partner_phone_extension/models/__init__.py index 416ed8672..49b82d3cc 100644 --- a/partner_phone_extension/models/__init__.py +++ b/partner_phone_extension/models/__init__.py @@ -1,10 +1,4 @@ # -*- coding: utf-8 -*- -# Copyright 2013-2014 Savoir-faire Linux -# (). -# Copyright 2017 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) -# Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import res_partner diff --git a/partner_phone_extension/models/res_partner.py b/partner_phone_extension/models/res_partner.py index 3d873ef8d..ec435da0f 100644 --- a/partner_phone_extension/models/res_partner.py +++ b/partner_phone_extension/models/res_partner.py @@ -1,16 +1,14 @@ # -*- coding: utf-8 -*- # Copyright 2013-2014 Savoir-faire Linux -# (). # Copyright 2017 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) # Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from openerp import fields, models +from odoo import fields, models class ResPartner(models.Model): _inherit = 'res.partner' - extension = fields.Char('Extension', help="Phone Number Extension.") + phone_extension = fields.Char('Phone Extension', oldname="extension", + help="Phone Number Extension.") diff --git a/partner_phone_extension/views/res_partner_view.xml b/partner_phone_extension/views/res_partner_view.xml index 72d802d55..63ffa7a82 100644 --- a/partner_phone_extension/views/res_partner_view.xml +++ b/partner_phone_extension/views/res_partner_view.xml @@ -8,7 +8,7 @@ - + @@ -19,10 +19,10 @@ - + - +