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: