[FIX] the root of a search view should be a search element, not tree
bzr revid: xmo@openerp.com-20110315143601-mdomwbo36rn0ejnh
This commit is contained in:
parent
4b3d639178
commit
fb58bc274d
|
@ -387,7 +387,7 @@
|
||||||
<field name="model">account.journal</field>
|
<field name="model">account.journal</field>
|
||||||
<field name="type">search</field>
|
<field name="type">search</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Search Account Journal">
|
<search string="Search Account Journal">
|
||||||
<group>
|
<group>
|
||||||
<filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Sale" icon="terp-camera_test"/>
|
<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', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Purchase" icon="terp-purchase"/>
|
||||||
|
@ -404,7 +404,7 @@
|
||||||
<separator orientation="vertical"/>
|
<separator orientation="vertical"/>
|
||||||
<filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/>
|
<filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/>
|
||||||
</group>
|
</group>
|
||||||
</tree>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
<record id="view_account_journal_form" model="ir.ui.view">
|
<record id="view_account_journal_form" model="ir.ui.view">
|
||||||
|
|
Loading…
Reference in New Issue