From aeb64790d0308fc703f3427ae54dd49bf00222c1 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 30 Mar 2015 17:21:52 +0200 Subject: [PATCH] Add module hr_usability --- hr_usability/__init__.py | 23 +++++++++++++++++++ hr_usability/__openerp__.py | 45 +++++++++++++++++++++++++++++++++++++ hr_usability/hr_view.xml | 23 +++++++++++++++++++ 3 files changed, 91 insertions(+) create mode 100644 hr_usability/__init__.py create mode 100644 hr_usability/__openerp__.py create mode 100644 hr_usability/hr_view.xml diff --git a/hr_usability/__init__.py b/hr_usability/__init__.py new file mode 100644 index 0000000..ccce471 --- /dev/null +++ b/hr_usability/__init__.py @@ -0,0 +1,23 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# HR Usability module for Odoo +# Copyright (C) 2015 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/hr_usability/__openerp__.py b/hr_usability/__openerp__.py new file mode 100644 index 0000000..0cad5a4 --- /dev/null +++ b/hr_usability/__openerp__.py @@ -0,0 +1,45 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# HR Usability module for Odoo +# Copyright (C) 2015 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': 'HR Usability', + 'version': '0.1', + 'category': 'Human Resources', + 'license': 'AGPL-3', + 'summary': 'Better usability in HR module', + 'description': """ +HR Usability +============ + +The HR module from the official addons adds a field *bank_account_id*. But, if you want to pay an expense note via SEPA Credit Transfer, Odoo doesn't use the bank account of the Employee, but the bank account configured on the Partner. So this module hides this field. + +This module has been developped by Alexis de Lattre . + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['hr'], + 'data': [ + 'hr_view.xml', + ], + 'installable': True, +} diff --git a/hr_usability/hr_view.xml b/hr_usability/hr_view.xml new file mode 100644 index 0000000..5b6a515 --- /dev/null +++ b/hr_usability/hr_view.xml @@ -0,0 +1,23 @@ + + + + + + + + hr_usability.hr.employee.form + hr.employee + + + + 1 + + + + + +