[IMP]improve views in account

bzr revid: tch@tinyerp.com-20120807050007-frozee480m1e2ux9
This commit is contained in:
Twinkle Christian (OpenERP) 2012-08-07 10:30:07 +05:30
parent a5f6f9426a
commit ce5a49fd4c
1 changed files with 12 additions and 14 deletions

View File

@ -6,20 +6,18 @@
<field name="model">account.voucher</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<form string="Accounting Vouchers" version="7.0">
<tree colors="blue:state == 'draft';gray:state == 'cancel';red:audit" string="Voucher Entries">
<field name="date"/>
<field name="number"/>
<field name="reference"/>
<field name="partner_id"/>
<field name="journal_id" groups="account.group_account_user"/>
<field name="period_id" invisible="context.get('visible', True)"/>
<field name="type" invisible="context.get('visible', True)"/>
<field name="amount" sum="Total Amount"/>
<field name="audit" invisible="1"/>
<field name="state"/>
</tree>
</form>
<tree colors="blue:state == 'draft';gray:state == 'cancel';red:audit" string="Voucher Entries">
<field name="date"/>
<field name="number"/>
<field name="reference"/>
<field name="partner_id"/>
<field name="journal_id" groups="account.group_account_user"/>
<field name="period_id" invisible="context.get('visible', True)"/>
<field name="type" invisible="context.get('visible', True)"/>
<field name="amount" sum="Total Amount"/>
<field name="audit" invisible="1"/>
<field name="state"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="view_voucher_line_form">