From f91a77c7a86a2586cea0e2b3747b3db83e792f1e Mon Sep 17 00:00:00 2001 From: vra Date: Thu, 9 Sep 2010 17:46:03 +0530 Subject: [PATCH] [FIX] account: fixed the profit & loss total by removing duplicate call of function. bzr revid: vra@tinyerp.com-20100909121603-cydq3va5dms91mdb --- addons/account/report/account_profit_horizontal.rml | 4 ++-- addons/account/report/account_profit_loss.rml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/account/report/account_profit_horizontal.rml b/addons/account/report/account_profit_horizontal.rml index 76d462aacf8..79bc6c5c731 100644 --- a/addons/account/report/account_profit_horizontal.rml +++ b/addons/account/report/account_profit_horizontal.rml @@ -328,13 +328,13 @@ Total:([[ get_currency(data['form']) ]]) - [[ sum_dr() and formatLang(abs(sum_dr())) or 0.0 ]] + [[ formatLang(abs(sum_dr())) or 0.0 ]] Total:([[ get_currency(data['form']) ]]) - [[ sum_cr() and formatLang(abs(sum_cr())) or 0.0 ]] + [[ formatLang(abs(sum_cr())) or 0.0 ]] diff --git a/addons/account/report/account_profit_loss.rml b/addons/account/report/account_profit_loss.rml index 7bf0704b8a0..acc9c51fc2f 100644 --- a/addons/account/report/account_profit_loss.rml +++ b/addons/account/report/account_profit_loss.rml @@ -297,7 +297,7 @@ Total:([[ get_currency(data) ]]) - [[ sum_dr() and formatLang(abs(sum_dr())) or 0.0 ]] + [[ formatLang(abs(sum_dr())) or 0.0 ]] @@ -352,7 +352,7 @@ Total:([[ get_currency(data) ]]) - [[ sum_cr() and formatLang(abs(sum_cr())) or 0.0 ]] + [[ formatLang(abs(sum_cr())) or 0.0 ]]