[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
This commit is contained in:
Hardik Ansodariy (OpenERP) 2012-03-26 15:29:08 +05:30
parent 99a12a9216
commit a446a320ee
1 changed files with 1 additions and 1 deletions

View File

@ -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