diff options
| author | Pratima Gupta <pgu@odoo.com> | 2017-02-23 14:44:52 +0530 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2017-03-07 14:34:01 +0100 |
| commit | 4a28c103fed7ce93d8a1a66528fa42e83acc44bc (patch) | |
| tree | b7592aec98ee60235b1ef4e60b8f75a803d44f4b /addons | |
| parent | 65ac6b8ae328179f244a3530f6f174c7a32ad1c1 (diff) | |
[IMP] crm: filter usability improvements
- Switch order of 'Unread Messages' and 'Won' filters
to group them by relevance
- 'Won' filter does not depend on the state property of
stage, since the 'Won' stage is not folded by default.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/crm/views/crm_lead_views.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index e56a181a358..8f72c724fd2 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -565,8 +565,7 @@ <field name="probability"/> <field name="lost_reason"/> <separator/> - <filter string="Won" name="won" - domain="['&', ('stage_id.probability', '=', 100), ('stage_id.fold', '=', True)]"/> + <filter string="Unread Messages" name="message_needaction" domain="[('message_needaction','=',True)]"/> <separator/> <filter string="My Opportunities" name="assigned_to_me" domain="[('user_id', '=', uid)]" @@ -589,8 +588,9 @@ domain="[('date_deadline', '<', context_today().strftime('%Y-%m-%d'))]" help="Show all opportunities with a deadline for which the next action date is before today"/> <separator/> - <filter string="Unread Messages" name="message_needaction" domain="[('message_needaction','=',True)]"/> <filter string="Lost" domain="[('active', '=', False)]"/> + <filter string="Won" name="won" + domain="[('stage_id.probability', '=', 100)]"/> <group expand="0" string="Group By" colspan="16"> <filter string="Salesperson" context="{'group_by':'user_id'}"/> <filter string="Sales Channel" context="{'group_by':'team_id'}"/> |
