diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-03-15 15:36:01 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-03-15 15:36:01 +0100 |
| commit | fb58bc274dd680421cabdb702ce2b1a53ac9df79 (patch) | |
| tree | ac03bb2df4d1b876df3f862ff3ff9a2448aa08e6 /addons | |
| parent | 4b3d6391783b20cc647dad949040d2adfd92f140 (diff) | |
[FIX] the root of a search view should be a search element, not tree
bzr revid: xmo@openerp.com-20110315143601-mdomwbo36rn0ejnh
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/account_view.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index cb7ed89f5c0..fc81751107f 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -387,7 +387,7 @@ <field name="model">account.journal</field> <field name="type">search</field> <field name="arch" type="xml"> - <tree string="Search Account Journal"> + <search string="Search Account Journal"> <group> <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"/> @@ -404,7 +404,7 @@ <separator orientation="vertical"/> <filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/> </group> - </tree> + </search> </field> </record> <record id="view_account_journal_form" model="ir.ui.view"> |
