From d30bc589fa8835aed3f6845e203e8d6da80cf5ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 18 Nov 2015 11:05:50 +0100
Subject: [PATCH] accounting: fix 'function' and 'funding' arguments not
 working when using deferred style

---
 .../AccountModule_getTrialBalanceReportSectionList.xml        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceReportSectionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceReportSectionList.xml
index ecde808d0f..38ec0f7bb1 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceReportSectionList.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceReportSectionList.xml
@@ -169,8 +169,8 @@ return [ ReportSection(\n
                                   period_start_date=\n
                                           period_start_date.earliestTime(),\n
                                   section_uid=section_uid,\n
-                                  function_category=function,\n
-                                  funding_cateory=funding,\n
+                                  function=function,\n
+                                  funding=funding,\n
                                   project=project,\n
                                   portal_type=portal_type,\n
                                   simulation_state=simulation_state,\n
-- 
2.30.9