diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getContentListReportSectionList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getContentListReportSectionList.xml
index 34aa83368371de06c737718f0a570c0b56a2646e..2793eacc160c927095b7f715d3d5810f0fde86ce 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getContentListReportSectionList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_getContentListReportSectionList.xml
@@ -77,10 +77,6 @@ stool = portal.portal_selections\n
 \n
 def getFormIdFromAction(action):\n
   return action[\'url\'].split(\'/\')[-1].split(\'?\')[0]\n
-  # something like this will be needed to print default document view:\n
-  form = getattr(context, form_id, None)\n
-  if hasattr(form, \'action\'):\n
-    return form.action\n
 \n
 def getReportSectionForObject(doc):\n
   """ Get all possible report section for object. """\n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 6f1745c38fdd4f9d49192a60d23d1d6600e2b760..748e6f1af544d497e99e1f5c583027349aa4a4c3 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-636
\ No newline at end of file
+637
\ No newline at end of file