From df6c91299f73753cd24919685f8889778bf0b091 Mon Sep 17 00:00:00 2001 From: vro Date: Tue, 26 Oct 2010 15:47:38 +0530 Subject: [PATCH 1/2] [Improved Sale Manager Dashboard] bzr revid: vro@tinyerp.com-20101026101738-235ut6ckvsh69yi8 --- addons/sale/report/sale_report_view.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index c4cc59f7b9a..c2ac712fe3d 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -163,6 +163,7 @@ graph,tree [('state','in',('manual','progress')),('date','<=', time.strftime('%Y-%m-%d')),('date','>',(datetime.date.today()-datetime.timedelta(days=90)).strftime('%Y-%m-%d'))] + {'group_by_no_leaf':1,'group_by':['partner_id']} @@ -208,6 +209,7 @@ graph,tree [('state','in',('manual','progress','done')),('date','<=', time.strftime('%Y-%m-%d')),('date','>',(datetime.date.today()-datetime.timedelta(days=90)).strftime('%Y-%m-%d'))] + {'group_by_no_leaf':1,'group_by':['user_id']} @@ -227,7 +229,7 @@ tree - + @@ -252,6 +254,7 @@ graph,tree [('state','in',('manual','progress','done')),('date','>',(datetime.date.today()-datetime.timedelta(days=90)).strftime('%Y-%m-%d'))] + {'group_by_no_leaf':1,'group_by':['categ_id']} From 93d5118017a83a2a493d2404ac0b68dd2914249b Mon Sep 17 00:00:00 2001 From: vro Date: Tue, 26 Oct 2010 15:49:41 +0530 Subject: [PATCH 2/2] [Improved Sales Dashboard] bzr revid: vro@tinyerp.com-20101026101941-wskw7xuajxwyj8pc --- addons/crm/board_crm_view.xml | 24 ++++++++++++++++++++++ addons/crm/report/crm_lead_report_view.xml | 7 ++++--- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/addons/crm/board_crm_view.xml b/addons/crm/board_crm_view.xml index 79dadadbcd0..6d9b7aadd00 100644 --- a/addons/crm/board_crm_view.xml +++ b/addons/crm/board_crm_view.xml @@ -18,6 +18,17 @@ + + crm.lead.report.tree + crm.lead.report + tree + + + + + + + crm.lead.report.graph crm.lead.report @@ -100,7 +111,20 @@ graph,tree,form ['&', '&', ('user_id','=',uid), ('type', '=', 'opportunity'), '!' , '&', ('state', '=', 'done'), ('date_closed','>',(datetime.date.today()-datetime.timedelta(days=30)).strftime('%Y-%m-%d'))] + {'group_by_no_leaf':1,'group_by':['stage_id']} + + + graph + + + + + + tree + + + crm.lead.report diff --git a/addons/crm/report/crm_lead_report_view.xml b/addons/crm/report/crm_lead_report_view.xml index b711bd68fb5..61bc6dfe94c 100644 --- a/addons/crm/report/crm_lead_report_view.xml +++ b/addons/crm/report/crm_lead_report_view.xml @@ -29,6 +29,7 @@ + @@ -79,7 +80,7 @@ - + - +