diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py index 1f0eda38eca1246099e38b8d3bf10f9541fd9206..60a2f18104a39f38380ddb069aebd9de637b329d 100644 --- a/product/ERP5Form/ListBox.py +++ b/product/ERP5Form/ListBox.py @@ -2081,7 +2081,7 @@ class ListBoxHTMLRenderer(ListBoxRenderer): return aq_base(getattr(self.getContext(), method_id)).__of__(context) # Otherwise, use the default one. - return context.asHTML + return context.asHTML.__of__(context) def render(self, **kw): """Render the data in HTML.