← Back to team overview

banking-addons-team team mailing list archive

lp:~akretion-team/banking-addons/bank-statement-reconcile-7.0-simple-view into lp:banking-addons/bank-statement-reconcile-7.0

 

Sébastien BEAU - http://www.akretion.com has proposed merging lp:~akretion-team/banking-addons/bank-statement-reconcile-7.0-simple-view into lp:banking-addons/bank-statement-reconcile-7.0.

Requested reviews:
  Nicolas Bessi - Camptocamp (nbessi-c2c)
  Frederic Clementi - Camptocamp (frederic-clementi)

For more details, see:
https://code.launchpad.net/~akretion-team/banking-addons/bank-statement-reconcile-7.0-simple-view/+merge/197770

The aim of this module is to remove useless feature/button of banck statement ;)
-- 
https://code.launchpad.net/~akretion-team/banking-addons/bank-statement-reconcile-7.0-simple-view/+merge/197770
Your team Banking Addons Core Editors is subscribed to branch lp:banking-addons/bank-statement-reconcile-7.0.
=== added directory 'account_statement_simple_view'
=== added file 'account_statement_simple_view/__init__.py'
--- account_statement_simple_view/__init__.py	1970-01-01 00:00:00 +0000
+++ account_statement_simple_view/__init__.py	2013-12-04 17:56:46 +0000
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+###############################################################################
+#
+#   account_bank_statement_simple_view for OpenERP
+#   Copyright (C) 2013-TODAY Akretion <http://www.akretion.com>.
+#   @author Sébastien BEAU <sebastien.beau@xxxxxxxxxxxx>
+#
+#   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 <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+

=== added file 'account_statement_simple_view/__openerp__.py'
--- account_statement_simple_view/__openerp__.py	1970-01-01 00:00:00 +0000
+++ account_statement_simple_view/__openerp__.py	2013-12-04 17:56:46 +0000
@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+###############################################################################
+#
+#   account_statement_simple_view for OpenERP
+#   Copyright (C) 2013-TODAY Akretion <http://www.akretion.com>.
+#   @author Sébastien BEAU <sebastien.beau@xxxxxxxxxxxx>
+#
+#   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 <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
+{
+    'name': 'account_bank_statement_simple_view',
+    'version': '0.1',
+    'category': 'Generic Modules/Others',
+    'license': 'AGPL-3',
+    'description': """Module that remove the useless import button on bank statement and also the useless red icon on bank statement line""",
+    'author': 'Akretion',
+    'website': 'http://www.akretion.com/',
+    'depends': [
+        'account_statement_base_import',
+        ], 
+    'init_xml': [],
+    'update_xml': [ 
+        'statement_view.xml',
+    ],
+    'demo_xml': [],
+    'installable': True,
+    'active': False,
+}

=== added file 'account_statement_simple_view/statement_view.xml'
--- account_statement_simple_view/statement_view.xml	1970-01-01 00:00:00 +0000
+++ account_statement_simple_view/statement_view.xml	2013-12-04 17:56:46 +0000
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  account_bank_statement_simple_view for OpenERP
+  Copyright (C) 2013-TODAY Akretion <http://www.akretion.com>.
+  The licence is in the file __openerp__.py
+-->
+
+<openerp>
+    <data>
+    
+        <!-- INHERITED VIEW FOR THE OBJECT : account_bank_statement -->
+
+        <record id="account_bank_statement_view_form" model="ir.ui.view">
+            <field name="name">account_bank_statement_simple_view.account_bank_statement.view_form</field>
+            <field name="model">account.bank.statement</field>
+            <field name="inherit_id" ref="account.view_bank_statement_form" />
+            <field eval="100" name="priority"/>
+            <field name="type">form</field>
+            <field name="arch" type="xml">
+                <div name="import_buttons" position="replace">
+                </div>
+                <field name="voucher_id" position="replace">
+                </field>
+
+            </field>
+        </record>
+
+    </data>
+</openerp>