From 601d8bacb5562fecdaefffbf2b458cbf818aeed6 Mon Sep 17 00:00:00 2001 From: Denis Leemann Date: Mon, 18 Jan 2016 13:18:40 +0100 Subject: [PATCH] Port of Birthdate --- partner_contact_birthdate/README.rst | 1 + partner_contact_birthdate/__init__.py | 19 ++------------ partner_contact_birthdate/__openerp__.py | 6 ++--- .../views/res_partner.xml | 25 ++++++++++++++++--- 4 files changed, 28 insertions(+), 23 deletions(-) diff --git a/partner_contact_birthdate/README.rst b/partner_contact_birthdate/README.rst index 590cd7f74..d367fd71b 100644 --- a/partner_contact_birthdate/README.rst +++ b/partner_contact_birthdate/README.rst @@ -58,6 +58,7 @@ Contributors * Jairo Llopis * Matjaž Mozetič * Rudolf Schnapka +* Denis Leemann Maintainer ---------- diff --git a/partner_contact_birthdate/__init__.py b/partner_contact_birthdate/__init__.py index 3b3430c28..a384d24e1 100644 --- a/partner_contact_birthdate/__init__.py +++ b/partner_contact_birthdate/__init__.py @@ -1,19 +1,4 @@ # -*- 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_birthdate/__openerp__.py b/partner_contact_birthdate/__openerp__.py index 15bd44841..ea7ce099e 100644 --- a/partner_contact_birthdate/__openerp__.py +++ b/partner_contact_birthdate/__openerp__.py @@ -18,15 +18,15 @@ { "name": "Contact's birthdate", - "version": "8.0.1.0.0", + "version": "9.0.1.0.0", "author": "Odoo Community Association (OCA)", "category": "Customer Relationship Management", "website": "https://odoo-community.org/", "depends": [ - "partner_contact_personal_information_page", + "base", ], "data": [ "views/res_partner.xml", ], - 'installable': False, + 'installable': True, } diff --git a/partner_contact_birthdate/views/res_partner.xml b/partner_contact_birthdate/views/res_partner.xml index 5f0374dd4..aff4c3b80 100644 --- a/partner_contact_birthdate/views/res_partner.xml +++ b/partner_contact_birthdate/views/res_partner.xml @@ -1,11 +1,30 @@ - + + + + Personal information page for contacts form + res.partner + + 2 + + + + + + + + + + + Birthdate Date field res.partner - + @@ -16,4 +35,4 @@ - +