diff options
| author | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-06-18 11:26:24 +0530 |
|---|---|---|
| committer | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-06-18 11:26:24 +0530 |
| commit | 81cc6f45cd36a776b7bb92d0a6190838f5767e8b (patch) | |
| tree | 0335414b8ef6e408e08fb8bbf101462d1f4dfc65 | |
| parent | 2663cbca6e7c42d26b1a0f260c7993c608d43863 (diff) | |
[IMP] launch : Improved the Search View.
bzr revid: mdi@tinyerp.com-20120618055624-ckyuicdch6mujg7o
| -rw-r--r-- | addons/lunch/lunch_view.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/lunch/lunch_view.xml b/addons/lunch/lunch_view.xml index 8e449b58e24..37069007638 100644 --- a/addons/lunch/lunch_view.xml +++ b/addons/lunch/lunch_view.xml @@ -71,11 +71,12 @@ <field name="type">search</field> <field name="arch" type="xml"> <search string="Search Lunch Order"> + <field name="date"/> + <separator orientation="vertical"/> <filter icon="terp-check" string="To Confirm" domain="[('state','=','draft')]"/> <filter icon="terp-camera_test" string="Confirmed" domain="[('state','=',('confirmed'))]"/> <separator orientation="vertical"/> <field name="user_id"/> - <field name="date"/> <newline/> <group expand="0" string="Group By..."> <filter string="Category" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'category'}"/> @@ -181,8 +182,8 @@ <field name="type">search</field> <field name="arch" type="xml"> <search string="Search CashMove"> - <field name="user_cashmove"/> <field name="create_date"/> + <field name="user_cashmove"/> <newline/> <group expand="0" string="Group By..."> <filter string="User" icon="terp-personal" domain="[]" context="{'group_by':'user_cashmove'}"/> @@ -192,7 +193,6 @@ <filter string="Date" icon="terp-go-today" domain="[]" context="{'group_by':'create_date'}"/> </group> </search> - </field> </record> @@ -290,7 +290,7 @@ <field name="type">search</field> <field name="arch" type="xml"> <search string="Products"> - <field name="name" /> + <field name="name" filter_domain="[('name','ilike',self)]" string="Product"/> <field name="category_id"/> <field name="price"/> </search> @@ -364,10 +364,10 @@ <field name="arch" type="xml"> <search string="Box Amount by User"> <group> + <field name="date"/> <field name="user_id"/> <field name="box"/> <field name="amount"/> - <field name="date"/> </group> <newline/> <group expand="0" string="Group By..."> |
