From 76aeab946d4af96b2444e013a40cdedbc0629783 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Mon, 18 Apr 2005 21:20:01 +0000
Subject: [PATCH] we should take the method on the container, not on the Report
 itself

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2915 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/Report.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Form/Report.py b/product/ERP5Form/Report.py
index 54112163c6..4595efa80b 100755
--- a/product/ERP5Form/Report.py
+++ b/product/ERP5Form/Report.py
@@ -136,7 +136,7 @@ class ERP5Report(ERP5Form):
         else:
           container = None
         pt = getattr(self,self.pt)
-        report_method = getattr(self,self.report_method)
+        report_method = getattr(object,self.report_method)
         extra_context = self.pt_getContext()
         extra_context['options'] = kwargs
         extra_context['form'] = self
-- 
2.30.9