From 237617be2c441c0abc994156c411a48e059f33a5 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Thu, 20 Nov 2008 08:28:29 +0000
Subject: [PATCH] propagate render_prefix, needed to render OOoChart in ODT
 Style

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24640 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/ListBox.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py
index 4d74df4abc..4898aa5d00 100644
--- a/product/ERP5Form/ListBox.py
+++ b/product/ERP5Form/ListBox.py
@@ -367,9 +367,11 @@ class ListBoxWidget(Widget.Widget):
           Render a ListBox in read-only.
         """
         if REQUEST is None: REQUEST=get_request()
-        return self.render(field, key, value, REQUEST, render_format=render_format)
+        return self.render(field, key, value, REQUEST, render_format=render_format,
+                           render_prefix=render_prefix)
 
-    def render(self, field, key, value, REQUEST, render_format='html', render_prefix=None):
+    def render(self, field, key, value, REQUEST, render_format='html',
+               render_prefix=None):
         """
           This is where most things happen. This method renders a list
           of items
-- 
2.30.9