Skip to content

deferred_style: Properly keep request parameters

Jérome Perrin requested to merge fix/deferred_style_keep_request_form into master

When rendering reports, deferred style was only keeping request.other, but some places, like Products.ERP5Form.ListBox.ListBox.getParamDict read only in request.form, which caused different behaviours when rendering reports directly or in activities, because when rendering in activities request keys that the report dialog might have pushed were not preset in request. They were of course present when rendering the report directly, because this was the same request, so this lead to different behaviours wether reports were rendering in activities or directly, like we could observe in 7058ab6f (accounting: fix grouping option of GL when running in deferred mode, 2021-02-25)

This change deferred style to properly propagate request.other and request.form in all activities of reports.

Edited by Jérome Perrin

Merge request reports