Commit 5d1939bc authored by Romain Courteaud's avatar Romain Courteaud

[erp5_core] Listbox do not have a 'parameter_list' parameter

Fixup nexedi/erp5@bf57228a

This reduces the number of logs.
parent 6aed2a71
...@@ -18,7 +18,8 @@ if parameter is not None: ...@@ -18,7 +18,8 @@ if parameter is not None:
if result in [ [], (), None, '']: if result in [ [], (), None, '']:
if parameter == 'proxy_listbox_ids': if parameter == 'proxy_listbox_ids':
return context.REQUEST.get('proxy_listbox_ids', []) return context.REQUEST.get('proxy_listbox_ids', [])
result = getattr(context, dialog_id, None).get_field( 'listbox' ).get_orig_value(parameter) if parameter != 'parameter_list':
result = getattr(context, dialog_id, None).get_field( 'listbox' ).get_orig_value(parameter)
if parameter == 'portal_type': if parameter == 'portal_type':
portal_type = listbox.get_value('portal_type') portal_type = listbox.get_value('portal_type')
......
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