From 2b522f5702550d1301ad5eefc371a28fc60ec643 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 15 May 2014 11:29:34 +0200 Subject: [PATCH] Add base_title_on_partner module. --- base_title_on_partner/__init__.py | 23 ++++++++++++++ base_title_on_partner/__openerp__.py | 42 ++++++++++++++++++++++++++ base_title_on_partner/partner_view.xml | 34 +++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 base_title_on_partner/__init__.py create mode 100644 base_title_on_partner/__openerp__.py create mode 100644 base_title_on_partner/partner_view.xml diff --git a/base_title_on_partner/__init__.py b/base_title_on_partner/__init__.py new file mode 100644 index 0000000..8aa7009 --- /dev/null +++ b/base_title_on_partner/__init__.py @@ -0,0 +1,23 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Base Title on Partner module for OpenERP +# Copyright (C) 2014 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# +# 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 . +# +############################################################################## + + diff --git a/base_title_on_partner/__openerp__.py b/base_title_on_partner/__openerp__.py new file mode 100644 index 0000000..c8bc7a6 --- /dev/null +++ b/base_title_on_partner/__openerp__.py @@ -0,0 +1,42 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Base Title on Partner module for OpenERP +# Copyright (C) 2014 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# +# 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 . +# +############################################################################## + + +{ + 'name': 'Title on Partner', + 'version': '0.1', + 'category': 'Partner', + 'license': 'AGPL-3', + 'summary': 'Display title on all the form views of partners', + 'description': """ +Title on Partner +================ + +By default, OpenERP doesn't display the title field on all the partner form views. This module fixes it. + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['base'], + 'data': ['partner_view.xml'], + 'installable': True, + 'active': False, +} diff --git a/base_title_on_partner/partner_view.xml b/base_title_on_partner/partner_view.xml new file mode 100644 index 0000000..bb3bc7e --- /dev/null +++ b/base_title_on_partner/partner_view.xml @@ -0,0 +1,34 @@ + + + + + + + + title.everywhere.on.partner.form + res.partner + + + + + + + + + + title.on.partner.simplified.form + res.partner + + + + + + + + + +