Commit 1c7975db authored by Georgios Dagkakis's avatar Georgios Dagkakis

erp5_deferred_style: Simplify tag in Base_computeReportSection

No need to introduce one more random number here,
anyway the tag that is passed to this script contains one, so use that
parent af2360c6
......@@ -25,7 +25,7 @@ with portal.Localizer.translationContext(localizer_language):
report_request = portal.ERP5Site_filterRequestForDeferredStyle(request)
active_process = portal.portal_activities.newActiveProcess()
inner_tag = 'compute-report-%s' % random.randint(0, 1000)
inner_tag = tag + '-render'
for idx, report_section in enumerate(report_section_list):
if report_section.getPath():
......
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