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/i18n/de.po b/partner_phone_extension/i18n/de.po index 86fbf56d0..282675cee 100644 --- a/partner_phone_extension/i18n/de.po +++ b/partner_phone_extension/i18n/de.po @@ -4,14 +4,13 @@ # # Translators: # OCA Transbot , 2017 -# Rudolf Schnapka , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-02 00:47+0000\n" -"PO-Revision-Date: 2017-06-02 00:47+0000\n" -"Last-Translator: Rudolf Schnapka , 2017\n" +"POT-Creation-Date: 2017-11-21 01:49+0000\n" +"PO-Revision-Date: 2017-11-21 01:49+0000\n" +"Last-Translator: OCA Transbot , 2017\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,17 +18,19 @@ msgstr "" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: partner_phone_extension -#: model:ir.model.fields,field_description:partner_phone_extension.field_res_partner_extension -msgid "Extension" -msgstr "Erweiterung" - #. module: partner_phone_extension #: model:ir.model,name:partner_phone_extension.model_res_partner msgid "Partner" msgstr "Partner" #. module: partner_phone_extension -#: model:ir.model.fields,help:partner_phone_extension.field_res_partner_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_users_phone_extension +msgid "Phone Extension" +msgstr "" + +#. module: partner_phone_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_users_phone_extension msgid "Phone Number Extension." -msgstr "Telefon-Durchwahl." +msgstr "" diff --git a/partner_phone_extension/i18n/es_MX.po b/partner_phone_extension/i18n/es_MX.po index a517d06dd..abd86fe65 100644 --- a/partner_phone_extension/i18n/es_MX.po +++ b/partner_phone_extension/i18n/es_MX.po @@ -6,10 +6,10 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-02 00:47+0000\n" -"PO-Revision-Date: 2017-06-02 00:47+0000\n" +"POT-Creation-Date: 2017-11-21 01:49+0000\n" +"PO-Revision-Date: 2017-11-21 01:49+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" "MIME-Version: 1.0\n" @@ -18,17 +18,19 @@ msgstr "" "Language: es_MX\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: partner_phone_extension -#: model:ir.model.fields,field_description:partner_phone_extension.field_res_partner_extension -msgid "Extension" -msgstr "" - #. module: partner_phone_extension #: model:ir.model,name:partner_phone_extension.model_res_partner msgid "Partner" -msgstr "Compañero" +msgstr "Empresa" + +#. module: partner_phone_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_users_phone_extension +msgid "Phone Extension" +msgstr "" #. module: partner_phone_extension -#: model:ir.model.fields,help:partner_phone_extension.field_res_partner_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_users_phone_extension msgid "Phone Number Extension." msgstr "" diff --git a/partner_phone_extension/i18n/fr.po b/partner_phone_extension/i18n/fr.po index 9f1edcb7b..89b5b5479 100644 --- a/partner_phone_extension/i18n/fr.po +++ b/partner_phone_extension/i18n/fr.po @@ -6,10 +6,10 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-02 00:47+0000\n" -"PO-Revision-Date: 2017-06-02 00:47+0000\n" +"POT-Creation-Date: 2017-11-21 01:49+0000\n" +"PO-Revision-Date: 2017-11-21 01:49+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "MIME-Version: 1.0\n" @@ -18,17 +18,19 @@ msgstr "" "Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#. module: partner_phone_extension -#: model:ir.model.fields,field_description:partner_phone_extension.field_res_partner_extension -msgid "Extension" -msgstr "Poste" - #. module: partner_phone_extension #: model:ir.model,name:partner_phone_extension.model_res_partner msgid "Partner" -msgstr "Partenaire" +msgstr "Contact" + +#. module: partner_phone_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_users_phone_extension +msgid "Phone Extension" +msgstr "" #. module: partner_phone_extension -#: model:ir.model.fields,help:partner_phone_extension.field_res_partner_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_users_phone_extension msgid "Phone Number Extension." -msgstr "Numéro de poste téléphonique." +msgstr "" diff --git a/partner_phone_extension/i18n/nl_NL.po b/partner_phone_extension/i18n/nl_NL.po new file mode 100644 index 000000000..066e56c57 --- /dev/null +++ b/partner_phone_extension/i18n/nl_NL.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_phone_extension +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-21 01:49+0000\n" +"PO-Revision-Date: 2017-11-21 01:49+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: partner_phone_extension +#: model:ir.model,name:partner_phone_extension.model_res_partner +msgid "Partner" +msgstr "Relatie" + +#. module: partner_phone_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_users_phone_extension +msgid "Phone Extension" +msgstr "" + +#. module: partner_phone_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_users_phone_extension +msgid "Phone Number Extension." +msgstr "" diff --git a/partner_phone_extension/i18n/sl.po b/partner_phone_extension/i18n/sl.po index 9bf5a1c03..e68545bf3 100644 --- a/partner_phone_extension/i18n/sl.po +++ b/partner_phone_extension/i18n/sl.po @@ -4,14 +4,13 @@ # # Translators: # OCA Transbot , 2017 -# Matjaž Mozetič , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-02 00:47+0000\n" -"PO-Revision-Date: 2017-06-02 00:47+0000\n" -"Last-Translator: Matjaž Mozetič , 2017\n" +"POT-Creation-Date: 2017-11-21 01:49+0000\n" +"PO-Revision-Date: 2017-11-21 01:49+0000\n" +"Last-Translator: OCA Transbot , 2017\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,17 +18,19 @@ msgstr "" "Language: sl\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" -#. module: partner_phone_extension -#: model:ir.model.fields,field_description:partner_phone_extension.field_res_partner_extension -msgid "Extension" -msgstr "Interna številka" - #. module: partner_phone_extension #: model:ir.model,name:partner_phone_extension.model_res_partner msgid "Partner" msgstr "Partner" #. module: partner_phone_extension -#: model:ir.model.fields,help:partner_phone_extension.field_res_partner_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,field_description:partner_phone_extension.field_res_users_phone_extension +msgid "Phone Extension" +msgstr "" + +#. module: partner_phone_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_partner_phone_extension +#: model:ir.model.fields,help:partner_phone_extension.field_res_users_phone_extension msgid "Phone Number Extension." -msgstr "Interna telefonska številka." +msgstr "" 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 @@ - + - +