From 9b0cac0aa0f5250b1eec5a11a46a02483c29b5ff Mon Sep 17 00:00:00 2001 From: qdp-odoo Date: Mon, 11 Aug 2014 15:23:05 +0200 Subject: [PATCH] [FIX] account_followup: total in foreign currency displayed in the right currency instead of company currency --- addons/account_followup/report/account_followup_print.py | 2 +- addons/account_followup/views/report_followup.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account_followup/report/account_followup_print.py b/addons/account_followup/report/account_followup_print.py index bf20527d3fa..a8c71a94232 100644 --- a/addons/account_followup/report/account_followup_print.py +++ b/addons/account_followup/report/account_followup_print.py @@ -72,7 +72,7 @@ class report_rappel(report_sxw.rml_parse): } lines_per_currency[currency].append(line_data) - return [{'line': lines} for lines in lines_per_currency.values()] + return [{'line': lines, 'currency': currency} for currency, lines in lines_per_currency.items()] def _get_text(self, stat_line, followup_id, context=None): context = dict(context or {}, lang=stat_line.partner_id.lang) diff --git a/addons/account_followup/views/report_followup.xml b/addons/account_followup/views/report_followup.xml index c0d98e7bb28..a79945b93de 100644 --- a/addons/account_followup/views/report_followup.xml +++ b/addons/account_followup/views/report_followup.xml @@ -47,7 +47,7 @@ -

Total:

+

Total: