[ADD] Added Group By [Author and Category] in Modules search view
authorFabien Meghazi <fme@openerp.com>
Wed, 9 May 2012 11:44:44 +0000 (13:44 +0200)
committerFabien Meghazi <fme@openerp.com>
Wed, 9 May 2012 11:44:44 +0000 (13:44 +0200)
bzr revid: fme@openerp.com-20120509114444-ok7vhp8x8kmhgnye

openerp/addons/base/module/module_view.xml

index 0005aee..13f3307 100644 (file)
                                     icon="STOCK_REMOVE" groups="base.group_no_one"
                                     domain="['!', ('category_id.parent_id','child_of','Hidden')]"/>
                         </field>
+                        <newline/>
+                        <group expand="0" string="Group By...">
+                            <filter string="Author" icon="terp-personal" domain="[]" context="{'group_by':'author'}"/>
+                            <filter string="Category" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'category_id'}"/>
+                        </group>
                     </group>
                </search>
             </field>