From 14bacaeba5804f9ccc2528cc100022f248372626 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 11 Jun 2014 10:06:28 +0200 Subject: [PATCH] Add module base_partner_link_on_users. --- base_partner_link_on_users/__init__.py | 23 +++++++++++++ base_partner_link_on_users/__openerp__.py | 42 +++++++++++++++++++++++ base_partner_link_on_users/users_view.xml | 23 +++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 base_partner_link_on_users/__init__.py create mode 100644 base_partner_link_on_users/__openerp__.py create mode 100644 base_partner_link_on_users/users_view.xml diff --git a/base_partner_link_on_users/__init__.py b/base_partner_link_on_users/__init__.py new file mode 100644 index 0000000..8aa7009 --- /dev/null +++ b/base_partner_link_on_users/__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_partner_link_on_users/__openerp__.py b/base_partner_link_on_users/__openerp__.py new file mode 100644 index 0000000..1dd9763 --- /dev/null +++ b/base_partner_link_on_users/__openerp__.py @@ -0,0 +1,42 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Base Partner Link on User 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': 'Partner Link on User', + 'version': '0.1', + 'category': 'Partner', + 'license': 'AGPL-3', + 'summary': 'Display partner_id on user form view', + 'description': """ +Partner Link on User +==================== + +Display partner_id on user form view + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['base'], + 'data': ['users_view.xml'], + 'installable': True, + 'active': False, +} diff --git a/base_partner_link_on_users/users_view.xml b/base_partner_link_on_users/users_view.xml new file mode 100644 index 0000000..9989aec --- /dev/null +++ b/base_partner_link_on_users/users_view.xml @@ -0,0 +1,23 @@ + + + + + + + + display.partner_id.on.users.form + res.users + + + + + + + + + +