Commit df55315c authored by Jérome Perrin's avatar Jérome Perrin

Put request in report TALES context


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5843 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 662a1a6e
...@@ -139,6 +139,7 @@ class ERP5Report(ERP5Form): ...@@ -139,6 +139,7 @@ class ERP5Report(ERP5Form):
extra_context = self.pt_getContext() extra_context = self.pt_getContext()
extra_context['options'] = kwargs extra_context['options'] = kwargs
extra_context['form'] = self extra_context['form'] = self
extra_context['request'] = get_request()
extra_context['container'] = container ## PROBLEM NOT TAKEN INTO ACCOUNT extra_context['container'] = container ## PROBLEM NOT TAKEN INTO ACCOUNT
extra_context['here'] = object extra_context['here'] = object
extra_context['report_method'] = report_method extra_context['report_method'] = report_method
......
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