From 95b001ba72a4cc6a6a8dae38bbd5a541ff310c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 19 May 2015 09:47:17 +0200 Subject: [PATCH] Fix Third Party Balance from changeset db33b1a23a4e With the new report API, the records must be set explicitly to the context to override the standard list. issue4721 review15361003 --- account.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account.py b/account.py index 7f78c69d47..65fe3ebd94 100644 --- a/account.py +++ b/account.py @@ -2049,6 +2049,7 @@ class ThirdPartyBalance(Report): report_context['total_debit'] = sum((x['debit'] for x in objects)) report_context['total_credit'] = sum((x['credit'] for x in objects)) report_context['total_solde'] = sum((x['solde'] for x in objects)) + report_context['records'] = objects return report_context