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 @@ - + - + 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']}