From 03eddbdd6a0ee7debc2745f69c8e387b7413614c Mon Sep 17 00:00:00 2001 From: Richard deMeester Date: Mon, 23 Nov 2015 09:41:18 +1100 Subject: [PATCH] Changes as requested. --- partner_contact_gender/__init__.py | 16 +--------------- partner_contact_gender/__openerp__.py | 1 + partner_contact_gender/models/__init__.py | 3 ++- .../models/{partner_gender.py => res_partner.py} | 3 ++- 4 files changed, 6 insertions(+), 17 deletions(-) rename partner_contact_gender/models/{partner_gender.py => res_partner.py} (78%) diff --git a/partner_contact_gender/__init__.py b/partner_contact_gender/__init__.py index 3b3430c28..edd280109 100644 --- a/partner_contact_gender/__init__.py +++ b/partner_contact_gender/__init__.py @@ -1,19 +1,5 @@ # -*- coding: utf-8 -*- - -# Odoo, Open Source Management Solution # Copyright (C) 2014-2015 Grupo ESOC -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero 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 Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models diff --git a/partner_contact_gender/__openerp__.py b/partner_contact_gender/__openerp__.py index 903430f83..a4b9d4a4a 100644 --- a/partner_contact_gender/__openerp__.py +++ b/partner_contact_gender/__openerp__.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2014-2015 Grupo ESOC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { diff --git a/partner_contact_gender/models/__init__.py b/partner_contact_gender/models/__init__.py index c211abb4e..85e65057d 100644 --- a/partner_contact_gender/models/__init__.py +++ b/partner_contact_gender/models/__init__.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2014-2015 Grupo ESOC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from . import partner_gender +from . import res_partner diff --git a/partner_contact_gender/models/partner_gender.py b/partner_contact_gender/models/res_partner.py similarity index 78% rename from partner_contact_gender/models/partner_gender.py rename to partner_contact_gender/models/res_partner.py index 0cddc0b73..ce142e659 100644 --- a/partner_contact_gender/models/partner_gender.py +++ b/partner_contact_gender/models/res_partner.py @@ -1,7 +1,8 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2014-2015 Grupo ESOC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import fields, models, _, api +from openerp import fields, models class ResPartner(models.Model):