diff --git a/bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_report.xml b/bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_report.xml
index b80fbfaef33622b806e72937d0bb5039f24fbc5a..ad0b408f85e6dc9feaa903c83996d27b47f7ffd3 100644
--- a/bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_report.xml
+++ b/bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/Base_report.xml
@@ -72,8 +72,7 @@ report_section_list.sort(lambda a, b:cmp(a[0], b[0]))\n
 def dummyReportMethod():\n
   return report_section_list\n
 \n
-# XXX Hardcoded format\n
-report_data = context.report_view.pt_render(\n
+report_data = context.restrictedTraverse(form_path).report_view.pt_render(\n
       extra_context=dict(options={\'format\': format},\n
                          rendered_report_item_list=[r[1] for r in report_section_list],\n
                          report_method=dummyReportMethod,\n
diff --git a/bt5/erp5_deferred_style/bt/revision b/bt5/erp5_deferred_style/bt/revision
index 7003e7fe1fa0b91d6e034f2f7ac38f2f5989f85c..613955421088a491231b1c6c7766f0f95a5c5824 100644
--- a/bt5/erp5_deferred_style/bt/revision
+++ b/bt5/erp5_deferred_style/bt/revision
@@ -1 +1 @@
-51
\ No newline at end of file
+52
\ No newline at end of file