From fab37d81bd83c1c8d48efecc66f60c058aefe8e3 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Fri, 19 Feb 2010 12:29:17 +0000 Subject: [PATCH] Force inheritence of render_odt and render_odt_view from ListWidget git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32850 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/ParallelListField.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/product/ERP5Form/ParallelListField.py b/product/ERP5Form/ParallelListField.py index 50446a2040..94b998e2a8 100644 --- a/product/ERP5Form/ParallelListField.py +++ b/product/ERP5Form/ParallelListField.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- ############################################################################## # # Copyright (c) 2005, 2006 Nexedi SARL and Contributors. All Rights Reserved. @@ -152,6 +153,24 @@ class ParallelListWidget(Widget.MultiListWidget, REQUEST.set(KEYWORD % parameter, MARKER) return result + def render_odt(self, field, value, as_string, ooo_builder, REQUEST, + render_prefix, attr_dict, local_name): + """ + """ + return Widget.ListWidget.render_odt(self, field, value, as_string, + ooo_builder, REQUEST, render_prefix, + attr_dict, local_name) + + + def render_odt_view(self, field, value, as_string, ooo_builder, REQUEST, + render_prefix, attr_dict, local_name): + """ + """ + return Widget.ListWidget.render_odt_view(self, field, value, as_string, + ooo_builder, REQUEST, + render_prefix, attr_dict, + local_name) + class ParallelListValidator(Validator.MultiSelectionValidator): property_names = Validator.MultiSelectionValidator.property_names -- 2.30.9