Divyesh Makwana(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-review_all_search-launch-mdi into
lp:~openerp-dev/openobject-addons/trunk-review_all_search.
Requested reviews:
OpenERP R&D Team (openerp-dev)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-review_all_search-launch-mdi/+merge/110726
Hello Sir,
Improved all search view according to the new search widget in the web client,
following this rules:
1. Only one char field per search view, and it is in first position (this field
makes a multiple search on several fields with filter_domain).
2. Date field in the second position.
3 . Group all the filters (move the filters like 'my leads' with the others),
and placed it just after the search on dates.
4. Search on m2o fields are placed in 4th position, then comes the 'Group By'.
5. Placed the filters that do not filter but only show/hide columns in a group,
called 'Display', which is placed after the group 'Group By'.
Thanks,
Divyesh
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-review_all_search-launch-mdi/+merge/110726
Your team OpenERP R&D Team is requested to review the proposed merge of
lp:~openerp-dev/openobject-addons/trunk-review_all_search-launch-mdi into
lp:~openerp-dev/openobject-addons/trunk-review_all_search.
=== modified file 'lunch/lunch_view.xml'
--- lunch/lunch_view.xml 2012-06-11 12:42:11 +0000
+++ lunch/lunch_view.xml 2012-06-18 06:02:21 +0000
@@ -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="create_date"/>
<field name="user_cashmove"/>
- <field name="create_date"/>
<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...">
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp