From a446a320ee7574e275c7e9cc6b4fd9872a58abb3 Mon Sep 17 00:00:00 2001 From: "Hardik Ansodariy (OpenERP)" Date: Mon, 26 Mar 2012 15:29:08 +0530 Subject: [PATCH] [FIXED] account_financial_report: Fixed the problem of -ve sign in report on Total inspite of selecting 'reverse balance sign' from filed Sign on report (Maintanance Case: 572907) bzr revid: han@tinyerp.com-20120326095908-l16znblgx86esogk --- addons/account/report/account_financial_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/report/account_financial_report.py b/addons/account/report/account_financial_report.py index 5380383f537..6e0c8b95e1a 100644 --- a/addons/account/report/account_financial_report.py +++ b/addons/account/report/account_financial_report.py @@ -56,7 +56,7 @@ class report_account_common(report_sxw.rml_parse, common_report_header): for report in self.pool.get('account.financial.report').browse(self.cr, self.uid, ids2, context=data['form']['used_context']): vals = { 'name': report.name, - 'balance': report.balance, + 'balance': report.balance * report.sign, 'type': 'report', 'level': bool(report.style_overwrite) and report.style_overwrite or report.level, 'account_type': report.type =='sum' and 'view' or False, #used to underline the financial report balances