From b587cb45eb533a0c8d6bcce888171959a8197ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Grand-Guillaume?= Date: Tue, 26 Jun 2012 17:27:25 +0200 Subject: [PATCH] [ADD] account_statement_completion_voucher to better adapt the views of bank statement (lp:c2c-financial-addons/6.1 rev 24.1.38) --- .../statement_view.xml | 16 +++++-- .../__init__.py | 21 +++++++++ .../__openerp__.py | 44 +++++++++++++++++++ .../statement_view.xml | 21 +++++++++ account_statement_ext/statement_view.xml | 5 +-- 5 files changed, 101 insertions(+), 6 deletions(-) create mode 100644 account_statement_completion_voucher/__init__.py create mode 100644 account_statement_completion_voucher/__openerp__.py create mode 100644 account_statement_completion_voucher/statement_view.xml diff --git a/account_statement_base_completion/statement_view.xml b/account_statement_base_completion/statement_view.xml index 5101a0b0..5153a40b 100644 --- a/account_statement_base_completion/statement_view.xml +++ b/account_statement_base_completion/statement_view.xml @@ -10,9 +10,6 @@ form - - - @@ -36,6 +33,19 @@ + + account_bank_statement_import_base.bank_statement.auto_cmpl + account.bank.statement + + form + + + + + + + + account.statement.profil.view diff --git a/account_statement_completion_voucher/__init__.py b/account_statement_completion_voucher/__init__.py new file mode 100644 index 00000000..e5cfb78c --- /dev/null +++ b/account_statement_completion_voucher/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Author: Joel Grand-Guillaume +# Copyright 2011-2012 Camptocamp SA +# +# 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_statement_completion_voucher/__openerp__.py b/account_statement_completion_voucher/__openerp__.py new file mode 100644 index 00000000..d01c2037 --- /dev/null +++ b/account_statement_completion_voucher/__openerp__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Author: Joel Grand-Guillaume +# Copyright 2011-2012 Camptocamp SA +# +# 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': "Bank statement extension with voucher", + 'version': '1.0', + 'author': 'Camptocamp', + 'maintainer': 'Camptocamp', + 'category': 'Finance', + 'complexity': 'normal', #easy, normal, expert + 'depends': ['account_statement_base_completion','account_voucher'], + 'description': """ + This module is only needed when using account_statement_base_completion with voucher in order adapt the view correctly. + """, + 'website': 'http://www.camptocamp.com', + 'init_xml': [], + 'update_xml': [ + "statement_view.xml", + ], + 'demo_xml': [], + 'test': [], + 'installable': True, + 'images': [], + 'auto_install': True, + 'license': 'AGPL-3', + 'active': False, +} diff --git a/account_statement_completion_voucher/statement_view.xml b/account_statement_completion_voucher/statement_view.xml new file mode 100644 index 00000000..5ed68ffd --- /dev/null +++ b/account_statement_completion_voucher/statement_view.xml @@ -0,0 +1,21 @@ + + + + + + + account_bank_statement_import_base.bank_statement.auto_cmpl + account.bank.statement + + form + + + + + + + + + + + diff --git a/account_statement_ext/statement_view.xml b/account_statement_ext/statement_view.xml index 1639c30f..0c492cc9 100644 --- a/account_statement_ext/statement_view.xml +++ b/account_statement_ext/statement_view.xml @@ -137,12 +137,11 @@ - - + - +