From 3a1c12f6143a426f5ef21c52a1a8d89b9de505f7 Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Thu, 12 Jul 2007 05:41:10 +0000
Subject: [PATCH] Undone. This was braking the planning box links.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15199 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/PlanningBox.py | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/product/ERP5Form/PlanningBox.py b/product/ERP5Form/PlanningBox.py
index 290e3fae56..351c400ed7 100644
--- a/product/ERP5Form/PlanningBox.py
+++ b/product/ERP5Form/PlanningBox.py
@@ -1941,12 +1941,13 @@ class BasicGroup:
             # This approach is also used by ListBox, but in Planning Box
             # the parameters are not important for now. In future, can be define
             # special sublinks using this implementation.
-            if getattr(activity_content, 'getListItemUrl', None):
-              url = activity_content.getListItemUrl(cname_id='', 
-                  selection_index='',
-                  selection_name=self.field.get_value('selection_name'))
-            else:
-              url = object.getUrl()
+            #if getattr(activity_content, 'getListItemUrl', None):
+            #  url = activity_content.getListItemUrl(cname_id='', 
+            #      selection_index='',
+            #      selection_name=self.field.get_value('selection_name'))
+            #else:
+            #  url = object.getUrl()
+            url = object.getUrl()
 
             # XXX should define height of block here
             height = None
-- 
2.30.9