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