[IMP] hide useless red button of voucher_id on the statement line

This commit is contained in:
Sebastien Beau
2013-12-11 17:18:58 +01:00
parent 69b28c9ed3
commit 0164efeae7
2 changed files with 28 additions and 3 deletions

View File

@@ -39,9 +39,9 @@ line will be take from imported line in this order:
'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,

View File

@@ -0,0 +1,25 @@
<?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="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>