Commit fc8097b6 authored by Romain Courteaud's avatar Romain Courteaud

Report generation should not use the higher priority.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24229 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6a5cdabf
...@@ -63,6 +63,7 @@ user_name = context.portal_membership.getAuthenticatedMember().getUserName()\n ...@@ -63,6 +63,7 @@ user_name = context.portal_membership.getAuthenticatedMember().getUserName()\n
\n \n
skin_name = \'ODT\' # hardcoded for now\n skin_name = \'ODT\' # hardcoded for now\n
tag = \'active-report-%s\' % random.randint(0, 1000)\n tag = \'active-report-%s\' % random.randint(0, 1000)\n
priority = 3\n
\n \n
# compute list of report section to render\n # compute list of report section to render\n
report_section_list = report_method()\n report_section_list = report_method()\n
...@@ -87,6 +88,7 @@ for idx, report_section in enumerate(report_section_list):\n ...@@ -87,6 +88,7 @@ for idx, report_section in enumerate(report_section_list):\n
doc.activate(activity=\'SQLQueue\',\n doc.activate(activity=\'SQLQueue\',\n
active_process=active_process,\n active_process=active_process,\n
tag=tag,\n tag=tag,\n
priority=priority,\n
).Base_renderReportSection(skin_name=skin_name,\n ).Base_renderReportSection(skin_name=skin_name,\n
localizer_language=localizer_language,\n localizer_language=localizer_language,\n
report_section=report_section,\n report_section=report_section,\n
...@@ -101,6 +103,7 @@ portal.portal_simulation.activate(after_tag=tag).Base_report(\n ...@@ -101,6 +103,7 @@ portal.portal_simulation.activate(after_tag=tag).Base_report(\n
request_other=request_other,\n request_other=request_other,\n
form_path=form.getPhysicalPath(),\n form_path=form.getPhysicalPath(),\n
user_name=user_name,\n user_name=user_name,\n
priority=priority,\n
)\n )\n
\n \n
context.activate(after_tag=tag).getTitle()\n context.activate(after_tag=tag).getTitle()\n
...@@ -167,6 +170,7 @@ return context.Base_redirect(\'view\', keep_items=dict(\n ...@@ -167,6 +170,7 @@ return context.Base_redirect(\'view\', keep_items=dict(\n
<string>skin_name</string> <string>skin_name</string>
<string>random</string> <string>random</string>
<string>tag</string> <string>tag</string>
<string>priority</string>
<string>report_section_list</string> <string>report_section_list</string>
<string>dict</string> <string>dict</string>
<string>request_other</string> <string>request_other</string>
......
21 22
\ No newline at end of file \ 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