diff options
| author | Barad Mahendra <mba@openerp.com> | 2018-02-08 11:45:27 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-02-12 07:53:02 +0100 |
| commit | 459a53ddb5b64eb689a4546ed95cbbae9e802a92 (patch) | |
| tree | ac87cfbfcb35aa5a60e0352d8c6e5285a2b6cecd | |
| parent | 6666bc9f757fcf7a82ff7d27c80de810d9a0969b (diff) | |
[IMP] crm: Remove 'To Close Today' and 'To Close This Week' filters
Purpose
=======
They make no sense, expected closing is just a guess.
| -rw-r--r-- | addons/crm/views/crm_lead_views.xml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index 7fad6a7dd6e..0b0147c6766 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -681,13 +681,6 @@ domain="[('date_deadline', '<', context_today().strftime('%Y-%m-%d')), ('date_closed', '=', False)]" help="Opportunities with a date of Expected Closing which is in the past"/> - <filter string="To Close Today" name="close_today" - domain="[('date_deadline', '=', context_today().strftime('%Y-%m-%d'))]"/> - <filter string="To Close This Week" name="close_this_week" domain="[ - '&', - ('date_deadline', '>=', (context_today() + relativedelta(weeks=-1,days=1,weekday=0)).strftime('%Y-%m-%d')), - ('date_deadline', '<=', (context_today() + relativedelta(weekday=6)).strftime('%Y-%m-%d')), - ]"/> <filter string="To Close This Month" name="close_this_month" domain="[ '&', ('date_deadline', '>=', (context_today() + relativedelta(day=1)).strftime('%Y-%m-%d')), |
