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

render odt as a multi list widget. Both ListField or MultiLisField use the same

rendering (text separated by text:line-break) so we don't have to do render
each subfield separatly


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34167 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 595cb92e
......@@ -157,7 +157,7 @@ class ParallelListWidget(Widget.MultiListWidget,
render_prefix, attr_dict, local_name):
"""
"""
return Widget.ListWidget.render_odt(self, field, value, as_string,
return Widget.MultiListWidget.render_odt(self, field, value, as_string,
ooo_builder, REQUEST, render_prefix,
attr_dict, local_name)
......@@ -166,7 +166,7 @@ class ParallelListWidget(Widget.MultiListWidget,
render_prefix, attr_dict, local_name):
"""
"""
return Widget.ListWidget.render_odt_view(self, field, value, as_string,
return Widget.MultiListWidget.render_odt_view(self, field, value, as_string,
ooo_builder, REQUEST,
render_prefix, attr_dict,
local_name)
......
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