From 652bccfead616636cdcce559b969b0f0c5c577fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 23 Mar 2010 12:08:50 +0000 Subject: [PATCH] at_date was missing in c33987 git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33998 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../AccountModule_getGeneralLedgerReportSectionList.xml | 8 ++++++++ bt5/erp5_accounting/bt/revision | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml index b95020a4c6..37b7a10f58 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml @@ -203,6 +203,7 @@ for inventory in portal.portal_simulation.getInventoryList(\n \n selection_params = params.copy()\n selection_params[\'from_date\'] = from_date\n + selection_params[\'at_date\'] = at_date\n selection_params[\'node_uid\'] = inventory.node_uid\n selection_params[\'payment_uid\'] = None\n selection_params[\'mirror_section_uid\'] = None\n @@ -237,6 +238,7 @@ for inventory in portal.portal_simulation.getInventoryList(\n \n selection_params = params.copy()\n selection_params[\'from_date\'] = from_date\n + selection_params[\'at_date\'] = at_date\n selection_params[\'node_uid\'] = inventory.node_uid\n selection_params[\'payment_uid\'] = None\n selection_params[\'mirror_section_uid\'] = None\n @@ -268,6 +270,7 @@ for inventory in portal.portal_simulation.getInventoryList(\n key = (inventory.node_relative_url, None, None)\n selection_params = params.copy()\n selection_params[\'from_date\'] = max(from_date, period_start_date)\n + selection_params[\'at_date\'] = at_date\n selection_params[\'period_start_date\'] = max(from_date, period_start_date)\n selection_params[\'node_uid\'] = inventory.node_uid\n selection_params[\'payment_uid\'] = None\n @@ -301,6 +304,7 @@ for inventory in portal.portal_simulation.getInventoryList(\n \n selection_params = params.copy()\n selection_params[\'from_date\'] = from_date\n + selection_params[\'at_date\'] = at_date\n selection_params[\'node_uid\'] = inventory.node_uid\n selection_params[\'payment_uid\'] = None\n selection_params[\'mirror_section_uid\'] = inventory.mirror_section_uid\n @@ -336,6 +340,7 @@ for inventory in portal.portal_simulation.getInventoryList(\n \n selection_params = params.copy()\n selection_params[\'from_date\'] = from_date\n + selection_params[\'at_date\'] = at_date\n selection_params[\'node_uid\'] = inventory.node_uid\n selection_params[\'payment_uid\'] = None\n selection_params[\'mirror_section_uid\'] = inventory.mirror_section_uid\n @@ -369,6 +374,7 @@ for inventory in portal.portal_simulation.getInventoryList(\n \n selection_params = params.copy()\n selection_params[\'from_date\'] = from_date\n + selection_params[\'at_date\'] = at_date\n selection_params[\'node_uid\'] = inventory.node_uid\n selection_params[\'payment_uid\'] = inventory.payment_uid\n selection_params[\'mirror_section_uid\'] = None\n @@ -403,6 +409,7 @@ for inventory in portal.portal_simulation.getInventoryList(\n \n selection_params = params.copy()\n selection_params[\'from_date\'] = from_date\n + selection_params[\'at_date\'] = at_date\n selection_params[\'node_uid\'] = inventory.node_uid\n selection_params[\'payment_uid\'] = inventory.payment_uid\n selection_params[\'mirror_section_uid\'] = None\n @@ -421,6 +428,7 @@ for inventory in portal.portal_simulation.getInventoryList(\n report_section_list.sort(key=ReportSection.getTitle)\n \n total_params = params.copy()\n +total_params[\'at_date\'] = at_date\n report_section_list.append(ReportSection(\n path=context.getPhysicalPath(),\n title=Base_translateString("Total"),\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 71935f0951..7c1c0cac5d 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -1140 \ No newline at end of file +1142 \ No newline at end of file -- 2.30.9