Commit c9589047 authored by Jérome Perrin's avatar Jérome Perrin

ods_style: support both lists and tuple for columns/more_columns

fixup 5ae7e594
parent 1bd9309a
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
<value> <string>request = container.REQUEST\n <value> <string>request = container.REQUEST\n
\n \n
# XXX this is a restricted environment available reimplementation of ListboxRenderer.getEditableField\n # XXX this is a restricted environment available reimplementation of ListboxRenderer.getEditableField\n
editable_columns = set(context.get_value(\'columns\', REQUEST=request)\n editable_columns = set(tuple(context.get_value(\'columns\', REQUEST=request))\n
+ context.get_value(\'all_columns\', REQUEST=request))\n + tuple(context.get_value(\'all_columns\', REQUEST=request)))\n
\n \n
editable_fields = {}\n editable_fields = {}\n
\n \n
......
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