From ef32f0336038944b4a05f8b41503d7aa76d66a15 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Fri, 9 Dec 2011 17:29:42 +0100 Subject: [PATCH] [FIX] account: removed unwanted sort() on accounts when computing the lines of a financial report bzr revid: qdp-launchpad@openerp.com-20111209162942-9h27unjf3jyf3gll --- addons/account/report/account_financial_report.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/account/report/account_financial_report.py b/addons/account/report/account_financial_report.py index 837b3dee6ff..7657ec230e6 100644 --- a/addons/account/report/account_financial_report.py +++ b/addons/account/report/account_financial_report.py @@ -68,7 +68,6 @@ class report_account_common(report_sxw.rml_parse, common_report_header): account_ids = account_obj._get_children_and_consol(self.cr, self.uid, [x.id for x in report.account_ids]) elif report.type == 'account_type' and report.account_type_ids: account_ids = account_obj.search(self.cr, self.uid, [('user_type','in', [x.id for x in report.account_type_ids])]) - account_ids.sort() if account_ids: for account in account_obj.browse(self.cr, self.uid, account_ids, context=data['form']['used_context']): flag = False