From dc42ba027545668c216caeaef7001cb97a6a2c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Faure-Lacroix?= Date: Mon, 27 Apr 2015 23:08:28 +0300 Subject: [PATCH] Adding currency symbol of account_id --- .../report/summary_reconciliation.mako | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/account_banking_reconciliation/report/summary_reconciliation.mako b/account_banking_reconciliation/report/summary_reconciliation.mako index 4af5f1da8..71c7d85cb 100644 --- a/account_banking_reconciliation/report/summary_reconciliation.mako +++ b/account_banking_reconciliation/report/summary_reconciliation.mako @@ -73,7 +73,7 @@ %if rec.multi_currency: - ${formatLang(rec.starting_balance_in_currency, monetary=True, currency_obj=rec.company_id.currency_id)} + ${formatLang(rec.starting_balance_in_currency, monetary=True, currency_obj=rec.account_id.currency_id)} %endif @@ -95,7 +95,7 @@ %if rec.multi_currency: - ${formatLang(rec.sum_of_debits_in_currency, monetary=True, currency_obj=rec.company_id.currency_id)} + ${formatLang(rec.sum_of_debits_in_currency, monetary=True, currency_obj=rec.account_id.currency_id)} %endif @@ -108,7 +108,7 @@ %if rec.multi_currency: - ${formatLang(-rec.sum_of_credits_in_currency, monetary=True, currency_obj=rec.company_id.currency_id)} + ${formatLang(-rec.sum_of_credits_in_currency, monetary=True, currency_obj=rec.account_id.currency_id)} %endif @@ -121,7 +121,7 @@ %if rec.multi_currency: - ${formatLang(rec.cleared_balance_in_currency, monetary=True, currency_obj=rec.company_id.currency_id)} + ${formatLang(rec.cleared_balance_in_currency, monetary=True, currency_obj=rec.account_id.currency_id)} %endif @@ -132,9 +132,10 @@ ${_("Cleared Balance")} + <% import pdb; pdb.set_trace() %> %if rec.multi_currency: - ${formatLang(rec.cleared_balance_in_currency + rec.starting_balance_in_currency, monetary=True, currency_obj=rec.company_id.currency_id)} + ${formatLang(rec.cleared_balance_in_currency + rec.starting_balance_in_currency, monetary=True, currency_obj=rec.account_id.currency_id)} %endif @@ -156,7 +157,7 @@ %if rec.multi_currency: - ${formatLang(rec.sum_of_debits_unclear_in_currency, monetary=True, currency_obj=rec.company_id.currency_id)} + ${formatLang(rec.sum_of_debits_unclear_in_currency, monetary=True, currency_obj=rec.account_id.currency_id)} %endif @@ -169,7 +170,7 @@ %if rec.multi_currency: - ${formatLang(-rec.sum_of_credits_unclear_in_currency, monetary=True, currency_obj=rec.company_id.currency_id)} + ${formatLang(-rec.sum_of_credits_unclear_in_currency, monetary=True, currency_obj=rec.account_id.currency_id)} %endif @@ -182,7 +183,7 @@ %if rec.multi_currency: - ${formatLang(rec.uncleared_balance_in_currency, monetary=True, currency_obj=rec.company_id.currency_id)} + ${formatLang(rec.uncleared_balance_in_currency, monetary=True, currency_obj=rec.account_id.currency_id)} %endif @@ -195,7 +196,7 @@ %if rec.multi_currency: - ${formatLang(rec.starting_balance_in_currency + rec.cleared_balance_in_currency + rec.uncleared_balance_in_currency, monetary=True, currency_obj=rec.company_id.currency_id)} + ${formatLang(rec.starting_balance_in_currency + rec.cleared_balance_in_currency + rec.uncleared_balance_in_currency, monetary=True, currency_obj=rec.account_id.currency_id)} %endif