Nikul Chaudhary
7 years ago
committed by
hveficent
11 changed files with 95 additions and 68 deletions
-
3partner_phone_extension/README.rst
-
6partner_phone_extension/__init__.py
-
2partner_phone_extension/__manifest__.py
-
25partner_phone_extension/i18n/de.po
-
22partner_phone_extension/i18n/es_MX.po
-
24partner_phone_extension/i18n/fr.po
-
36partner_phone_extension/i18n/nl_NL.po
-
25partner_phone_extension/i18n/sl.po
-
6partner_phone_extension/models/__init__.py
-
8partner_phone_extension/models/res_partner.py
-
6partner_phone_extension/views/res_partner_view.xml
@ -1,10 +1,4 @@ |
|||||
# -*- coding: utf-8 -*- |
# -*- coding: utf-8 -*- |
||||
# Copyright 2013-2014 Savoir-faire Linux |
|
||||
# (<http://www.savoirfairelinux.com>). |
|
||||
# Copyright 2017 Eficent Business and IT Consulting Services S.L. |
|
||||
# (http://www.eficent.com) |
|
||||
# Copyright 2017 Serpent Consulting Services Pvt. Ltd. |
|
||||
# (<http://www.serpentcs.com>) |
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
from . import models |
from . import models |
@ -0,0 +1,36 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * partner_phone_extension |
||||
|
# |
||||
|
# Translators: |
||||
|
# Peter Hageman <hageman.p@gmail.com>, 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 <hageman.p@gmail.com>, 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 "" |
@ -1,10 +1,4 @@ |
|||||
# -*- coding: utf-8 -*- |
# -*- coding: utf-8 -*- |
||||
# Copyright 2013-2014 Savoir-faire Linux |
|
||||
# (<http://www.savoirfairelinux.com>). |
|
||||
# Copyright 2017 Eficent Business and IT Consulting Services S.L. |
|
||||
# (http://www.eficent.com) |
|
||||
# Copyright 2017 Serpent Consulting Services Pvt. Ltd. |
|
||||
# (<http://www.serpentcs.com>) |
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
from . import res_partner |
from . import res_partner |
@ -1,16 +1,14 @@ |
|||||
# -*- coding: utf-8 -*- |
# -*- coding: utf-8 -*- |
||||
# Copyright 2013-2014 Savoir-faire Linux |
# Copyright 2013-2014 Savoir-faire Linux |
||||
# (<http://www.savoirfairelinux.com>). |
|
||||
# Copyright 2017 Eficent Business and IT Consulting Services S.L. |
# Copyright 2017 Eficent Business and IT Consulting Services S.L. |
||||
# (http://www.eficent.com) |
|
||||
# Copyright 2017 Serpent Consulting Services Pvt. Ltd. |
# Copyright 2017 Serpent Consulting Services Pvt. Ltd. |
||||
# (<http://www.serpentcs.com>) |
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
# 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): |
class ResPartner(models.Model): |
||||
_inherit = 'res.partner' |
_inherit = 'res.partner' |
||||
|
|
||||
extension = fields.Char('Extension', help="Phone Number Extension.") |
|
||||
|
phone_extension = fields.Char('Phone Extension', oldname="extension", |
||||
|
help="Phone Number Extension.") |
Write
Preview
Loading…
Cancel
Save
Reference in new issue