← Back to team overview

banking-addons-team team mailing list archive

[Merge] 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:
  Pedro Manuel Baeza (pedro.baeza)
  Joël Grand-Guillaume @ camptocamp (jgrandguillaume-c2c): code review, no tests
  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_no_invoice_import'
=== added file 'account_statement_no_invoice_import/__init__.py'
--- account_statement_no_invoice_import/__init__.py	1970-01-01 00:00:00 +0000
+++ account_statement_no_invoice_import/__init__.py	2014-02-03 09:28:08 +0000
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+###############################################################################
+#
+#   module 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_no_invoice_import/__openerp__.py'
--- account_statement_no_invoice_import/__openerp__.py	1970-01-01 00:00:00 +0000
+++ account_statement_no_invoice_import/__openerp__.py	2014-02-03 09:28:08 +0000
@@ -0,0 +1,40 @@
+# -*- coding: utf-8 -*-
+###############################################################################
+#
+#   module 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 no invoice import',
+    'version': '0.1',
+    'category': 'Generic Modules/Others',
+    'license': 'AGPL-3',
+    'description': """Module that remove the 'Import invoices' button on bank statement""",
+    'author': 'Akretion',
+    'website': 'http://www.akretion.com/',
+    'depends': [
+        'account',
+        ], 
+    'data': [ 
+        'statement_view.xml',
+    ],
+    'demo': [],
+    'installable': True,
+    'active': False,
+}

=== added file 'account_statement_no_invoice_import/statement_view.xml'
--- account_statement_no_invoice_import/statement_view.xml	1970-01-01 00:00:00 +0000
+++ account_statement_no_invoice_import/statement_view.xml	2014-02-03 09:28:08 +0000
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<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>
+        </record>
+
+    </data>
+</openerp>

=== modified file 'statement_voucher_killer/__openerp__.py'
--- statement_voucher_killer/__openerp__.py	2013-08-27 06:29:57 +0000
+++ statement_voucher_killer/__openerp__.py	2014-02-03 09:28:08 +0000
@@ -39,9 +39,9 @@
  'author': 'Camptocamp',
  'website': 'http://www.camptocamp.com',
  'depends': ['account_voucher', 'account_payment'],
- 'init_xml': [],
- 'update_xml': [],
- 'demo_xml': [],
+ 'data': [
+     'statement_view.xml',
+     ],
  'test': [],
  'installable': True,
  'active': False,

=== added file 'statement_voucher_killer/statement_view.xml'
--- statement_voucher_killer/statement_view.xml	1970-01-01 00:00:00 +0000
+++ statement_voucher_killer/statement_view.xml	2014-02-03 09:28:08 +0000
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<openerp>
+    <data>
+    
+        <!-- INHERITED VIEW FOR THE OBJECT : account_bank_statement -->
+
+        <record id="account_bank_statement_view_form" model="ir.ui.view">
+            <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">
+                <field name="voucher_id" position="replace">
+                </field>
+            </field>
+        </record>
+
+    </data>
+</openerp>


Follow ups