[IMP] account : Improved the Search View.

bzr revid: mdi@tinyerp.com-20120614072825-2701wjpbclyp3bmg
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-06-14 12:58:25 +05:30
parent aa2f9b477e
commit d229dfa236
1 changed files with 7 additions and 5 deletions

View File

@ -2094,14 +2094,16 @@
<field name="arch" type="xml">
<search string="Search Account Templates">
<group>
<field name="name"
filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"
string="Account Template"/>
<separator orientation="vertical"/>
<filter icon="terp-sale" string="Receivale Accounts" domain="[('type','=','receivable')]"/>
<filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
<separator orientation="vertical"/>
<field name="code"/>
<field name="name"/>
<filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
<separator orientation="vertical"/>
<field name="parent_id"/>
<field name="type"/>
<field name="user_type"/>
<field name="type"/>
</group>
<newline/>
<group expand="0" string="Group By...">