From 2e083e88d82603328c6bb55a5f42b968981d994b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Paulius=20Sladkevi=C4=8Dius?= <komsas@gmail.com>
Date: Fri, 12 Dec 2014 15:30:00 +1100
Subject: [PATCH] [FIX] account: open Monthly Turnover partner in graph mode

Tree view gives no information
Fixes #4195
---
 addons/account/report/account_invoice_report_view.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml
index 874f2ddda243..b123a7631098 100644
--- a/addons/account/report/account_invoice_report_view.xml
+++ b/addons/account/report/account_invoice_report_view.xml
@@ -103,7 +103,8 @@
         groups="group_account_manager"
         context="{'search_default_partner_id':[active_id], 'search_default_month':1,'search_default_user':1,'group_by_no_leaf':1,'group_by':[]}"
         res_model="account.invoice.report"
-        src_model="res.partner"/>
+        src_model="res.partner"
+        view_mode="graph"/>
 
 </data>
 </openerp>
-- 
GitLab