Commit 040a26f1 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_hal_json_style] Remove extra_param_json hidden field.

Fields must propagate all values requested by ERP5.
parent 97fb5989
...@@ -1111,11 +1111,6 @@ def renderForm(traversed_document, form, response_dict, key_prefix=None, selecti ...@@ -1111,11 +1111,6 @@ def renderForm(traversed_document, form, response_dict, key_prefix=None, selecti
response_dict['report_section_list'] = report_result_list response_dict['report_section_list'] = report_result_list
# end-if report_section # end-if report_section
if form.pt == "form_dialog":
# extra_param_json is a special field in forms (just like form_id). extra_param_json field holds JSON
# metadata about the form (its hash and dynamic fields)
renderHiddenField(response_dict, 'extra_param_json', json.dumps(extra_param_json))
for key, value in byteify(previous_request_other.items()): for key, value in byteify(previous_request_other.items()):
if value is not None: if value is not None:
REQUEST.set(key, value) REQUEST.set(key, value)
......
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