[IMP] account_bank_statement_extensions : Improved the Search View.

bzr revid: mdi@tinyerp.com-20120614102558-pd8cgq2iyfhrkno5
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-06-14 15:55:58 +05:30
parent da37395051
commit ff1c79989f
1 changed files with 37 additions and 35 deletions

View File

@ -124,6 +124,11 @@
<field name="arch" type="xml">
<search string="Search Bank Transactions">
<group col='6' colspan='4'>
<field name="name"
filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]"
string="Bank Transaction"/>
<field name="val_date"/>
<separator orientation="vertical"/>
<filter name="debit" string="Debit" domain="[('amount','&gt;',0)]" icon="terp-folder-green" help="Debit Transactions."/>
<filter name="credit" string="Credit" domain="[('amount','&lt;',0)]" icon="terp-folder-orange" help="Credit Transactions."/>
<separator orientation="vertical"/>
@ -132,17 +137,14 @@
<separator orientation="vertical"/>
<field name="journal_id"/>
<field name="statement_id"/>
<field name="val_date"/>
<field name="amount"/>
<field name="globalisation_id" string="Glob. Id"/>
<field name="globalisation_amount" string="Glob. Amount"/>
<field name="name"/>
</group>
<newline/>
<group string="Extended Filters..." expand="0">
<field name="account_id"/>
<field name="partner_id"/>
<field name="ref"/>
<field name="amount"/>
<field name="globalisation_amount" string="Glob. Amount"/>
<field name="note"/>
</group>
<newline/>