From 3d7361f8c6d769fd80c6c41c8df3021f1081c609 Mon Sep 17 00:00:00 2001 From: Vincent Renaville Date: Thu, 11 Apr 2013 17:13:29 +0200 Subject: [PATCH] [FIX] group by --- account_export_csv/wizard/account_export_csv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_export_csv/wizard/account_export_csv.py b/account_export_csv/wizard/account_export_csv.py index 1e75b170..29a703c7 100644 --- a/account_export_csv/wizard/account_export_csv.py +++ b/account_export_csv/wizard/account_export_csv.py @@ -195,7 +195,7 @@ class AccountCSVExport(orm.TransientModel): inner join account_account as ac on account_move_line.account_id = ac.id and account_move_line.period_id in %(period_ids)s - group by aac.id,aac.code,ac.name,ac.id,ac.code,ac.name + group by aac.id,aac.code,aac.name,ac.id,ac.code,ac.name order by aac.code """, {'fiscalyear_id': fiscalyear_id,'company_id':company_id,'period_ids':tuple(period_range_ids)}