From 60fc01be46af4a236e83f60720b6525f653a353b Mon Sep 17 00:00:00 2001 From: ced <> Date: Thu, 26 Jul 2007 08:30:08 +0000 Subject: [PATCH] account: fix multi company in aged trial balance bzr revid: ced-bc2e64bf9db0c6405d27256a894304bcbebe4851 --- addons/account/report/aged_trial_balance.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/addons/account/report/aged_trial_balance.py b/addons/account/report/aged_trial_balance.py index 60ce1096ccc..a040a9deb8e 100644 --- a/addons/account/report/aged_trial_balance.py +++ b/addons/account/report/aged_trial_balance.py @@ -138,9 +138,7 @@ class aged_trial_report(report_sxw.rml_parse): def _get_currency(self, form): return pooler.get_pool(self.cr.dbname).get('res.company').browse(self.cr, self.uid, form['company_id']).currency_id.name -report_sxw.report_sxw( - 'report.account.aged.trial.balance', - 'res.partner', - 'addons/account/report/aged_trial_balance.rml', - parser=aged_trial_report, header=False) +report_sxw.report_sxw('report.account.aged.trial.balance','res.partner', + 'addons/account/report/aged_trial_balance.rml', parser=aged_trial_report, + header=False)