Commit 76aeab94 authored by Sebastien Robin's avatar Sebastien Robin

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
parent d7b6ec25
......@@ -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
......
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