[IMP] crm: add message_last_pos tin groupby for leads and opportunities
authorThibault Delavallée <tde@openerp.com>
Wed, 5 Mar 2014 09:44:27 +0000 (10:44 +0100)
committerThibault Delavallée <tde@openerp.com>
Wed, 5 Mar 2014 09:44:27 +0000 (10:44 +0100)
bzr revid: tde@openerp.com-20140305094427-6295fmowatllrxxz

addons/crm/crm_lead_view.xml

index e76a7a9..d054e95 100644 (file)
                         <filter string="Campaign" domain="[]" context="{'group_by':'type_id'}"/>
                         <filter string="Channel" domain="[]" context="{'group_by':'channel_id'}"/>
                         <filter string="Creation" domain="[]" context="{'group_by':'create_date'}"/>
+                        <filter string="Last Post (weekly)" name="group_message_last_post" domain="[]" context="{'group_by':'message_last_post:week'}"/>
                     </group>
                     <group string="Display">
                         <filter string="Show Countries" context="{'invisible_country': False}" help="Show Countries"/>
                         <filter string="Channel" domain="[]" context="{'group_by':'channel_id'}"/>
                         <filter string="Creation" domain="[]" context="{'group_by':'create_date'}"/>
                         <filter string="Last Update Month" domain="[]" context="{'group_by':'write_date'}"/>
+                        <filter string="Last Post (weekly)" name="group_message_last_post" domain="[]" context="{'group_by':'message_last_post:week'}"/>
                     </group>
                     <group string="Display">
                         <filter string="Show Sales Team" context="{'invisible_section': False}" domain="[]" help="Show Sales Team" groups="base.group_multi_salesteams"/>