[IMP] account : Improved the Search View.
bzr revid: mdi@tinyerp.com-20120614064516-1xge1f7rq1k50efi
This commit is contained in:
parent
d0cd006418
commit
a261d76938
|
@ -447,13 +447,15 @@
|
|||
<field name="arch" type="xml">
|
||||
<search string="Search Account Journal">
|
||||
<group>
|
||||
<field name="name"
|
||||
filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"
|
||||
string="Journal"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Sale" icon="terp-camera_test"/>
|
||||
<filter domain="['|', ('type', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Purchase" icon="terp-purchase"/>
|
||||
<filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity" icon="terp-dolar"/>
|
||||
<filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity" icon="terp-dolar"/>
|
||||
<filter domain="['|', ('type', '=', 'general'), ('type', '=', 'situation')]" string="Others" icon="terp-stock"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="code"/>
|
||||
<field name="name"/>
|
||||
<field name="user_id"/>
|
||||
</group>
|
||||
<newline/>
|
||||
|
|
Loading…
Reference in New Issue