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