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

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-audittrail-mdi/+merge/110325
Your team OpenERP R&D Team is requested to review the proposed merge of 
lp:~openerp-dev/openobject-addons/trunk-review_all_search-audittrail-mdi into 
lp:~openerp-dev/openobject-addons/trunk-review_all_search.
=== modified file 'audittrail/audittrail_view.xml'
--- audittrail/audittrail_view.xml	2012-06-09 14:13:14 +0000
+++ audittrail/audittrail_view.xml	2012-06-14 13:09:20 +0000
@@ -61,17 +61,20 @@
             <field name="type">search</field>
             <field name="arch" type="xml">
                 <search string="Search Audittrail Rule">
-                   <group>
-                    <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft  Rule"/>
-                    <filter icon="terp-camera_test" string="Subscribed" domain="[('state','=','subscribed')]" help="Subscribed Rule"/>
-                    <separator orientation="vertical"/>
-                    <field name="name"/>
-                    <field name="object_id"/>
-                </group>
-                <newline/>
-                  <group expand="0" string="Group By...">
-                    <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
-                </group>
+                    <group>
+                        <field name="name"
+                        filter_domain="[('name','ilike',self)]"
+                        string="Audittrail Rule"/>
+                        <separator orientation="vertical"/>
+                        <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft  Rule"/>
+                        <filter icon="terp-camera_test" string="Subscribed" domain="[('state','=','subscribed')]" help="Subscribed Rule"/>
+                        <separator orientation="vertical"/>
+                        <field name="object_id"/>
+                    </group>
+                    <newline/>
+                    <group expand="0" string="Group By...">
+                        <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
+                    </group>
                 </search>
             </field>
         </record>
@@ -166,18 +169,20 @@
             <field name="type">search</field>
             <field name="arch" type="xml">
                 <search string="Search Audittrail Log">
-                 <group>
-                    <field name="name"/>
-                    <field name="object_id"/>
-                    <field name="user_id"  widget="selection"/>
-                </group>
-                <newline/>
-                  <group expand="0" string="Group By...">
-                    <filter string="User" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
-                    <separator orientation="vertical"/>
-                    <filter string="Object" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'object_id'}"/>
-                    <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'timestamp'}"/>
-                </group>
+                    <group>
+                        <field name="name"
+                        filter_domain="[('name','ilike',self)]"
+                        string="Audittrail Log"/>
+                        <field name="object_id"/>
+                        <field name="user_id"  widget="selection"/>
+                    </group>
+                    <newline/>
+                    <group expand="0" string="Group By...">
+                        <filter string="User" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
+                        <separator orientation="vertical"/>
+                        <filter string="Object" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'object_id'}"/>
+                        <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'timestamp'}"/>
+                    </group>
                 </search>
             </field>
         </record>

_______________________________________________
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