From f3085a163fb4b236a1a46275c1fa6bc69de6b2e6 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sat, 22 Mar 2014 01:48:30 +0100 Subject: [PATCH] Add module account_payment_hide_communication2. --- .../__init__.py | 21 +++++++++ .../__openerp__.py | 43 +++++++++++++++++++ .../payment_view.xml | 21 +++++++++ 3 files changed, 85 insertions(+) create mode 100644 account_payment_hide_communication2/__init__.py create mode 100644 account_payment_hide_communication2/__openerp__.py create mode 100644 account_payment_hide_communication2/payment_view.xml diff --git a/account_payment_hide_communication2/__init__.py b/account_payment_hide_communication2/__init__.py new file mode 100644 index 0000000..2f5e7df --- /dev/null +++ b/account_payment_hide_communication2/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Account Payment Hide Communication2 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/account_payment_hide_communication2/__openerp__.py b/account_payment_hide_communication2/__openerp__.py new file mode 100644 index 0000000..4c58385 --- /dev/null +++ b/account_payment_hide_communication2/__openerp__.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Account Payment Hide Communication2 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': 'Account Payment Hide Communication2', + 'version': '1.0', + 'category': 'Accounting & Finance', + 'license': 'AGPL-3', + 'summary': 'Hide the field Communication2 on Payment Lines', + 'description': """ +Account Payment Hide Communication2 +=================================== + +This module hides the field 'Communication2' on the form view of Payment Lines. I consider that is field is useless and tend to confuse users. + +Please contact Alexis de Lattre from Akretion for any help or question about this module. +""", + 'author': 'Akretion', + 'depends': ['account_payment'], + 'data': [ + 'payment_view.xml', + ], + 'active': False, +} diff --git a/account_payment_hide_communication2/payment_view.xml b/account_payment_hide_communication2/payment_view.xml new file mode 100644 index 0000000..ff3cfc5 --- /dev/null +++ b/account_payment_hide_communication2/payment_view.xml @@ -0,0 +1,21 @@ + + + + + + + + hide.communication2.on.payment.line.form + payment.order + + + + + + + +