From df55315c1bfb1cd7c1b23394febed83a97e9d8a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Sat, 25 Feb 2006 11:55:11 +0000
Subject: [PATCH] Put request in report TALES context

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

diff --git a/product/ERP5Form/Report.py b/product/ERP5Form/Report.py
index b1ecb95781..9095034bd9 100755
--- a/product/ERP5Form/Report.py
+++ b/product/ERP5Form/Report.py
@@ -139,6 +139,7 @@ class ERP5Report(ERP5Form):
         extra_context = self.pt_getContext()
         extra_context['options'] = kwargs
         extra_context['form'] = self
+        extra_context['request'] = get_request()
         extra_context['container'] = container ## PROBLEM NOT TAKEN INTO ACCOUNT
         extra_context['here'] = object
         extra_context['report_method'] = report_method
-- 
2.30.9