Commit 652bccfe authored by Jérome Perrin's avatar Jérome Perrin

at_date was missing in c33987

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33998 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c07a3804
......@@ -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
......
1140
\ No newline at end of file
1142
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment