From 07c90674399442328bb8cc8651e7434b6958fc7c Mon Sep 17 00:00:00 2001 From: Leonardo Pistone Date: Thu, 28 Apr 2016 15:57:44 +0200 Subject: [PATCH] group by month --- account_financial_report_qweb/wizard/ledger_report_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report_qweb/wizard/ledger_report_wizard.py b/account_financial_report_qweb/wizard/ledger_report_wizard.py index 27b78f68..24b707cd 100644 --- a/account_financial_report_qweb/wizard/ledger_report_wizard.py +++ b/account_financial_report_qweb/wizard/ledger_report_wizard.py @@ -141,7 +141,7 @@ class LedgerReportWizard(models.TransientModel): 'view_mode': 'tree', 'res_model': 'ledger.report.wizard.line', 'view_id': False, - 'context': {'group_by': ['account_id']}, + 'context': {'group_by': ['account_id', 'date:month']}, 'type': 'ir.actions.act_window' }