Divyesh Makwana(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-review_all_search-base_all-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-base_all-mdi/+merge/110460

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-base_all-mdi/+merge/110460
Your team OpenERP R&D Team is requested to review the proposed merge of 
lp:~openerp-dev/openobject-addons/trunk-review_all_search-base_all-mdi into 
lp:~openerp-dev/openobject-addons/trunk-review_all_search.
=== modified file 'base_calendar/base_calendar_view.xml'
--- base_calendar/base_calendar_view.xml	2012-06-14 06:24:14 +0000
+++ base_calendar/base_calendar_view.xml	2012-06-15 05:49:21 +0000
@@ -94,6 +94,11 @@
             <field name="type">search</field>
             <field name="arch" type="xml">
                 <search string="Search Invitations">
+                   <field name="email"
+                   filter_domain="[('email','ilike',self)]"
+                   string="Email"/>
+                   <field name="event_date"/>
+                   <separator orientation="vertical"/>
                    <filter icon="terp-gtk-jump-to-ltr" name="toreview" string="To Review"
                        domain="[('state','=', 'needs-action')]"
                        help="Invitations To Review" />
@@ -107,11 +112,9 @@
                        domain="[('state','=', 'delegated')]"
                        help="Delegated Invitations" />
                    <separator orientation="vertical"/>
-                   <field name="email"/>
                    <field name="user_id" string="Responsible"/>
                    <separator orientation="vertical"/>
                    <field name="cutype" string="Invitation type"/>
-                   <field name="event_date"/>
                    <newline/>
                     <group expand="0" string="Group By...">
                         <filter string="Responsible" icon="terp-personal" domain="[]"
@@ -435,6 +438,10 @@
             <field name="arch" type="xml">
                 <search string="Search Events">
                        <group>
+                           <field name="name"
+                           filter_domain="['|' ('name','ilike',self), ('location','ilike',self)]"
+                           string="Event"/>
+                           <separator orientation="vertical"/>
                            <filter icon="terp-go-today" string="My Events"
                                domain="[('user_id','=',uid)]"
                                help="My Events" />
@@ -443,9 +450,6 @@
                                domain="[('state','=','confirmed')]"
                                help="Confirmed Events" />
                            <separator orientation="vertical"/>
-                           <field name="name" string="Summary"/>
-                           <field name="location" string="Location"/>
-                           <separator orientation="vertical"/>
                            <field name="user_id"/>
                            <separator orientation="vertical"/>
                            <field name="show_as"/>
@@ -465,7 +469,6 @@
                             <separator orientation="vertical" />
                             <filter string="Date" icon="terp-go-month"
                                 domain="[]" context="{'group_by':'date'}" />
-
                         </group>
                 </search>
             </field>

_______________________________________________
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

Reply via email to