Commit be74589d authored by Romain Courteaud's avatar Romain Courteaud

Allow to use deferred_style parameter in report dialog, in order to generate reporting in activity.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25101 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6e9a27d2
...@@ -236,6 +236,12 @@ for k, v in kw.items() :\n ...@@ -236,6 +236,12 @@ for k, v in kw.items() :\n
if v not in (None, [], ()) :\n if v not in (None, [], ()) :\n
clean_kw[k] = kw[k]\n clean_kw[k] = kw[k]\n
\n \n
# Handle deferred style\n
if clean_kw.get(\'deferred_style\', 0):\n
clean_kw[\'deferred_portal_skin\'] = clean_kw.get(\'portal_skin\', None)\n
# XXX Hardcoded Deferred style name\n
clean_kw[\'portal_skin\'] = \'Deferred\'\n
\n
url_params_string = make_query(clean_kw)\n url_params_string = make_query(clean_kw)\n
\n \n
# XXX: We always redirect in report mode to make sure portal_skin\n # XXX: We always redirect in report mode to make sure portal_skin\n
......
1058 1061
\ 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